Class ContainerRelaunch
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerRelaunch
Relaunch container.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch
ContainerLaunch.ShellScriptBuilder -
Field Summary
Fields inherited from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch
app, completed, container, CONTAINER_PRE_LAUNCH_STDERR, CONTAINER_PRE_LAUNCH_STDOUT, CONTAINER_SCRIPT, containerAlreadyLaunched, dirsHandler, dispatcher, exec, FINAL_CONTAINER_TOKENS_FILE, KEYSTORE_FILE, pidFilePath, shouldPauseContainer, SYSFS_DIR, TRUSTSTORE_FILE -
Constructor Summary
ConstructorsConstructorDescriptionContainerRelaunch(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) -
Method Summary
Methods inherited from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch
addConfigsToEnv, cleanupContainerFiles, expandEnvironment, getApplicationLocalDirs, getContainerLocalDirs, getContainerLogDirs, getContainerPrivateDir, getContainerWorkDir, getExitCodeFile, getLocalizedResources, getNMFilecacheDirs, getPidFileSubpath, getRelativeContainerLogDir, getUserFilecacheDirs, getUserLocalDirs, handleContainerExitCode, handleContainerExitWithFailure, launchContainer, pauseContainer, prepareForLaunch, relaunchContainer, resumeContainer, sanitizeEnv, setContainerCompletedStatus, signalContainer, translateCommandToSignal, validateContainerState
-
Constructor Details
-
ContainerRelaunch
public ContainerRelaunch(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)
-
-
Method Details
-
call
- Specified by:
callin interfaceCallable<Integer>- Overrides:
callin classContainerLaunch
-