org.apache.hadoop.yarn.server.nodemanager
Class NodeManager
java.lang.Object
org.apache.hadoop.yarn.service.AbstractService
org.apache.hadoop.yarn.service.CompositeService
org.apache.hadoop.yarn.server.nodemanager.NodeManager
- All Implemented Interfaces:
- org.apache.hadoop.yarn.service.Service, org.apache.hadoop.yarn.service.ServiceStateChangeListener
public class NodeManager
- extends org.apache.hadoop.yarn.service.CompositeService
- implements org.apache.hadoop.yarn.service.ServiceStateChangeListener
| Nested classes/interfaces inherited from class org.apache.hadoop.yarn.service.CompositeService |
org.apache.hadoop.yarn.service.CompositeService.CompositeServiceShutdownHook |
| Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service |
org.apache.hadoop.yarn.service.Service.STATE |
|
Method Summary |
protected ContainerManagerImpl |
createContainerManager(Context context,
ContainerExecutor exec,
DeletionService del,
NodeStatusUpdater nodeStatusUpdater,
org.apache.hadoop.yarn.server.security.ContainerTokenSecretManager containerTokenSecretManager,
org.apache.hadoop.yarn.server.security.ApplicationACLsManager aclsManager,
LocalDirsHandlerService dirsHandler)
|
protected NodeResourceMonitor |
createNodeResourceMonitor()
|
protected NodeStatusUpdater |
createNodeStatusUpdater(Context context,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
NodeHealthCheckerService healthChecker,
org.apache.hadoop.yarn.server.security.ContainerTokenSecretManager containerTokenSecretManager)
|
protected WebServer |
createWebServer(Context nmContext,
ResourceView resourceView,
org.apache.hadoop.yarn.server.security.ApplicationACLsManager aclsManager,
LocalDirsHandlerService dirsHandler)
|
protected void |
doSecureLogin()
|
NodeHealthCheckerService |
getNodeHealthChecker()
|
void |
init(org.apache.hadoop.conf.Configuration conf)
|
static void |
main(String[] args)
|
void |
start()
|
void |
stateChanged(org.apache.hadoop.yarn.service.Service service)
|
void |
stop()
|
| Methods inherited from class org.apache.hadoop.yarn.service.CompositeService |
addService, getServices, removeService |
| Methods inherited from class org.apache.hadoop.yarn.service.AbstractService |
getConfig, getName, getServiceState, getStartTime, register, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
metrics
protected final NodeManagerMetrics metrics
containerTokenSecretManager
protected org.apache.hadoop.yarn.server.security.ContainerTokenSecretManager containerTokenSecretManager
NodeManager
public NodeManager()
createNodeStatusUpdater
protected NodeStatusUpdater createNodeStatusUpdater(Context context,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
NodeHealthCheckerService healthChecker,
org.apache.hadoop.yarn.server.security.ContainerTokenSecretManager containerTokenSecretManager)
createNodeResourceMonitor
protected NodeResourceMonitor createNodeResourceMonitor()
createContainerManager
protected ContainerManagerImpl createContainerManager(Context context,
ContainerExecutor exec,
DeletionService del,
NodeStatusUpdater nodeStatusUpdater,
org.apache.hadoop.yarn.server.security.ContainerTokenSecretManager containerTokenSecretManager,
org.apache.hadoop.yarn.server.security.ApplicationACLsManager aclsManager,
LocalDirsHandlerService dirsHandler)
createWebServer
protected WebServer createWebServer(Context nmContext,
ResourceView resourceView,
org.apache.hadoop.yarn.server.security.ApplicationACLsManager aclsManager,
LocalDirsHandlerService dirsHandler)
doSecureLogin
protected void doSecureLogin()
throws IOException
- Throws:
IOException
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.CompositeService
start
public void start()
- Specified by:
start in interface org.apache.hadoop.yarn.service.Service- Overrides:
start in class org.apache.hadoop.yarn.service.CompositeService
stop
public void stop()
- Specified by:
stop in interface org.apache.hadoop.yarn.service.Service- Overrides:
stop in class org.apache.hadoop.yarn.service.CompositeService
getNodeHealthChecker
public NodeHealthCheckerService getNodeHealthChecker()
- Returns:
- the node health checker
stateChanged
public void stateChanged(org.apache.hadoop.yarn.service.Service service)
- Specified by:
stateChanged in interface org.apache.hadoop.yarn.service.ServiceStateChangeListener
main
public static void main(String[] args)
Copyright © 2012 Apache Software Foundation. All Rights Reserved.