public class RecoveredContainerLaunch extends ContainerLaunch
ContainerLaunch.ShellScriptBuilder
completed, container, CONTAINER_SCRIPT, dispatcher, exec, FINAL_CONTAINER_TOKENS_FILE, pidFilePath, shouldLaunchContainer
Constructor and Description |
---|
RecoveredContainerLaunch(Context context,
org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
Application app,
Container container,
LocalDirsHandlerService dirsHandler,
ContainerManagerImpl containerManager) |
Modifier and Type | Method and Description |
---|---|
Integer |
call()
Wait on the process specified in pid file and return its exit code
|
cleanupContainer, expandEnvironment, getExitCodeFile, getPidFileSubpath, getRelativeContainerLogDir, sanitizeEnv
public RecoveredContainerLaunch(Context context, org.apache.hadoop.conf.Configuration configuration, org.apache.hadoop.yarn.event.Dispatcher dispatcher, ContainerExecutor exec, Application app, Container container, LocalDirsHandlerService dirsHandler, ContainerManagerImpl containerManager)
Copyright © 2018 Apache Software Foundation. All Rights Reserved.