org.apache.hadoop.yarn.server.resourcemanager
Class RMNMInfo
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.RMNMInfo
- All Implemented Interfaces:
- RMNMInfoBeans
public class RMNMInfo
- extends Object
- implements RMNMInfoBeans
JMX bean listing statuses of all node managers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMNMInfo
public RMNMInfo(RMContext rmc,
ResourceScheduler sched)
- Constructor for RMNMInfo registers the bean with JMX.
- Parameters:
rmc
- resource manager's context objectsched
- resource manager's scheduler object
getLiveNodeManagers
public String getLiveNodeManagers()
- Implements getLiveNodeManagers()
- Specified by:
getLiveNodeManagers
in interface RMNMInfoBeans
- Returns:
- JSON formatted string containing statuses of all node managers
Copyright © 2014 Apache Software Foundation. All Rights Reserved.