public class RecoveredContainerLaunch extends ContainerLaunch
ContainerLaunch.ShellScriptBuilder
app, completed, container, CONTAINER_PRE_LAUNCH_STDERR, CONTAINER_PRE_LAUNCH_STDOUT, CONTAINER_SCRIPT, containerAlreadyLaunched, dirsHandler, dispatcher, exec, FINAL_CONTAINER_TOKENS_FILE, pidFilePath, shouldPauseContainer
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, getContainerLocalDirs, getContainerLogDirs, getContainerPrivateDir, getExitCodeFile, getLocalizedResources, getNMFilecacheDirs, getPidFileSubpath, getRelativeContainerLogDir, getUserLocalDirs, handleContainerExitCode, handleContainerExitWithFailure, launchContainer, pauseContainer, resumeContainer, sanitizeEnv, setContainerCompletedStatus, signalContainer, translateCommandToSignal, validateContainerState
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.