Class RMNMInfo
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.RMNMInfo
- All Implemented Interfaces:
RMNMInfoBeans
JMX bean listing statuses of all node managers.
-
Constructor Summary
ConstructorsConstructorDescriptionRMNMInfo(RMContext rmc, ResourceScheduler sched) Constructor for RMNMInfo registers the bean with JMX. -
Method Summary
Modifier and TypeMethodDescriptionImplements getLiveNodeManagers()void
-
Constructor Details
-
RMNMInfo
Constructor for RMNMInfo registers the bean with JMX.- Parameters:
rmc- resource manager's context objectsched- resource manager's scheduler object
-
-
Method Details
-
unregister
public void unregister() -
getLiveNodeManagers
Implements getLiveNodeManagers()- Specified by:
getLiveNodeManagersin interfaceRMNMInfoBeans- Returns:
- JSON formatted string containing statuses of all node managers
-