org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher
Class ContainersLauncher

java.lang.Object
  extended by org.apache.hadoop.yarn.service.AbstractService
      extended by org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainersLauncher
All Implemented Interfaces:
org.apache.hadoop.yarn.event.EventHandler<ContainersLauncherEvent>, org.apache.hadoop.yarn.service.Service

public class ContainersLauncher
extends org.apache.hadoop.yarn.service.AbstractService
implements org.apache.hadoop.yarn.event.EventHandler<ContainersLauncherEvent>

The launcher for the containers. This service should be started only after the ResourceLocalizationService is started as it depends on creation of system directories on the local file-system.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.yarn.service.Service
org.apache.hadoop.yarn.service.Service.STATE
 
Constructor Summary
ContainersLauncher(Context context, org.apache.hadoop.yarn.event.Dispatcher dispatcher, ContainerExecutor exec, LocalDirsHandlerService dirsHandler)
           
 
Method Summary
 void handle(ContainersLauncherEvent event)
           
 void init(org.apache.hadoop.conf.Configuration conf)
           
 void stop()
           
 
Methods inherited from class org.apache.hadoop.yarn.service.AbstractService
getConfig, getName, getServiceState, getStartTime, register, start, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainersLauncher

public ContainersLauncher(Context context,
                          org.apache.hadoop.yarn.event.Dispatcher dispatcher,
                          ContainerExecutor exec,
                          LocalDirsHandlerService dirsHandler)
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

stop

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

handle

public void handle(ContainersLauncherEvent event)
Specified by:
handle in interface org.apache.hadoop.yarn.event.EventHandler<ContainersLauncherEvent>


Copyright © 2012 Apache Software Foundation. All Rights Reserved.