Class 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 Detail

      • YarnWorkerNode

        public YarnWorkerNode​(org.apache.hadoop.yarn.api.records.Container container,
                              org.apache.flink.runtime.clusterframework.types.ResourceID resourceID)
    • Method Detail

      • 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()