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, KEYSTORE_FILE, pidFilePath, shouldPauseContainer, SYSFS_DIR, TRUSTSTORE_FILE
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
|
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
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 © 2008–2023 Apache Software Foundation. All rights reserved.