org.apache.hadoop.yarn.server.resourcemanager
Class RMNMInfo

java.lang.Object
  extended by 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.


Constructor Summary
RMNMInfo(RMContext rmc, ResourceScheduler sched)
          Constructor for RMNMInfo registers the bean with JMX.
 
Method Summary
 String getLiveNodeManagers()
          Implements getLiveNodeManagers()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMNMInfo

public RMNMInfo(RMContext rmc,
                ResourceScheduler sched)
Constructor for RMNMInfo registers the bean with JMX.

Parameters:
rmc - resource manager's context object
sched - resource manager's scheduler object
Method Detail

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.