Class SchedulerNodeReport

java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerNodeReport

@Private @Stable public class SchedulerNodeReport extends Object
Node usage report.
  • Constructor Details

    • SchedulerNodeReport

      public SchedulerNodeReport(SchedulerNode node)
  • Method Details

    • getUsedResource

      public org.apache.hadoop.yarn.api.records.Resource getUsedResource()
      Returns:
      the amount of resources currently used by the node.
    • getAvailableResource

      public org.apache.hadoop.yarn.api.records.Resource getAvailableResource()
      Returns:
      the amount of resources currently available on the node
    • getNumContainers

      public int getNumContainers()
      Returns:
      the number of containers currently running on this node.
    • getUtilization

      public org.apache.hadoop.yarn.api.records.ResourceUtilization getUtilization()
      Returns:
      utilization of this node