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

java.lang.Object
  extended by org.apache.hadoop.yarn.service.AbstractService
      extended by org.apache.hadoop.yarn.server.resourcemanager.NodesListManager
All Implemented Interfaces:
org.apache.hadoop.yarn.service.Service

public class NodesListManager
extends org.apache.hadoop.yarn.service.AbstractService


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service
org.apache.hadoop.yarn.service.Service.STATE
 
Constructor Summary
NodesListManager()
           
 
Method Summary
 void init(org.apache.hadoop.conf.Configuration conf)
           
 boolean isValidNode(String hostName)
           
 void refreshNodes()
           
 
Methods inherited from class org.apache.hadoop.yarn.service.AbstractService
getConfig, getName, getServiceState, getStartTime, register, start, stop, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodesListManager

public NodesListManager()
Method Detail

init

public void init(org.apache.hadoop.conf.Configuration conf)
Specified by:
init in interface org.apache.hadoop.yarn.service.Service
Overrides:
init in class org.apache.hadoop.yarn.service.AbstractService

refreshNodes

public void refreshNodes()
                  throws IOException
Throws:
IOException

isValidNode

public boolean isValidNode(String hostName)


Copyright © 2012 Apache Software Foundation. All Rights Reserved.