java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.activities.NodeAllocation

public class NodeAllocation extends Object
  • Constructor Details

    • NodeAllocation

      public NodeAllocation(org.apache.hadoop.yarn.api.records.NodeId nodeId)
  • Method Details

    • addAllocationActivity

      public void addAllocationActivity(String parentName, String childName, Integer priority, ActivityState state, String diagnostic, ActivityLevel level, org.apache.hadoop.yarn.api.records.NodeId nId, Long allocationRequestId)
    • updateContainerState

      public void updateContainerState(org.apache.hadoop.yarn.api.records.ContainerId containerId, AllocationState containerState)
    • transformToTree

      public void transformToTree()
    • setTimestamp

      public void setTimestamp(long timestamp)
    • getTimestamp

      public long getTimestamp()
    • getFinalAllocationState

      public AllocationState getFinalAllocationState()
    • getContainerId

      public String getContainerId()
    • getRoot

      public ActivityNode getRoot()
    • getNodeId

      public org.apache.hadoop.yarn.api.records.NodeId getNodeId()
    • getPartition

      public String getPartition()
    • setPartition

      public void setPartition(String partition)