org.apache.hadoop.yarn.server.resourcemanager.scheduler
Class SchedulerNodeReport
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerNodeReport
@InterfaceAudience.Private
@InterfaceStability.Stable
public class SchedulerNodeReport
- extends Object
Node usage report.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchedulerNodeReport
public SchedulerNodeReport(SchedulerNode node)
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.
Copyright © 2014 Apache Software Foundation. All Rights Reserved.