| Modifier and Type | Field and Description |
|---|---|
static String |
CONTAINER_SCRIPT |
static String |
FINAL_CONTAINER_TOKENS_FILE |
| Constructor and Description |
|---|
ContainerLaunch(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
Application app,
Container container,
LocalDirsHandlerService dirsHandler) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
call() |
void |
cleanupContainer()
Cleanup the container.
|
static String |
getRelativeContainerLogDir(String appIdStr,
String containerIdStr) |
void |
sanitizeEnv(Map<String,String> environment,
org.apache.hadoop.fs.Path pwd,
List<org.apache.hadoop.fs.Path> appDirs) |
public static final String CONTAINER_SCRIPT
public static final String FINAL_CONTAINER_TOKENS_FILE
public ContainerLaunch(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
Application app,
Container container,
LocalDirsHandlerService dirsHandler)
public void cleanupContainer()
throws IOException
IOExceptionpublic static String getRelativeContainerLogDir(String appIdStr, String containerIdStr)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.