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

    Constructors
    Constructor
    Description
    YarnWorkerNode(org.apache.hadoop.yarn.api.records.Container container, org.apache.flink.runtime.clusterframework.types.ResourceID resourceID)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.yarn.api.records.Container
     
    org.apache.flink.runtime.clusterframework.types.ResourceID
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getResourceID in interface org.apache.flink.runtime.clusterframework.types.ResourceIDRetrievable
    • getContainer

      public org.apache.hadoop.yarn.api.records.Container getContainer()