Package org.apache.flink.yarn
Class YarnWorkerNode
java.lang.Object
org.apache.flink.yarn.YarnWorkerNode
- All Implemented Interfaces:
org.apache.flink.runtime.clusterframework.types.ResourceIDRetrievable
public class YarnWorkerNode
extends Object
implements org.apache.flink.runtime.clusterframework.types.ResourceIDRetrievable
A stored YARN worker, which contains the YARN container.
-
Constructor Summary
ConstructorsConstructorDescriptionYarnWorkerNode(org.apache.hadoop.yarn.api.records.Container container, org.apache.flink.runtime.clusterframework.types.ResourceID resourceID) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.records.Containerorg.apache.flink.runtime.clusterframework.types.ResourceID
-
Constructor Details
-
YarnWorkerNode
public YarnWorkerNode(org.apache.hadoop.yarn.api.records.Container container, org.apache.flink.runtime.clusterframework.types.ResourceID resourceID)
-
-
Method Details
-
getResourceID
public org.apache.flink.runtime.clusterframework.types.ResourceID getResourceID()- Specified by:
getResourceIDin interfaceorg.apache.flink.runtime.clusterframework.types.ResourceIDRetrievable
-
getContainer
public org.apache.hadoop.yarn.api.records.Container getContainer()
-