Modifier and Type | Field and Description |
---|---|
static String |
CONTAINER_SCRIPT |
static String |
FINAL_CONTAINER_TOKENS_FILE |
Constructor and Description |
---|
ContainerLaunch(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() |
void |
cleanupContainer()
Cleanup the container.
|
static String |
expandEnvironment(String var,
org.apache.hadoop.fs.Path containerLogDir) |
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,
List<String> containerLogDirs,
Map<org.apache.hadoop.fs.Path,List<String>> resources) |
public static final String CONTAINER_SCRIPT
public static final String FINAL_CONTAINER_TOKENS_FILE
public ContainerLaunch(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)
public static String expandEnvironment(String var, org.apache.hadoop.fs.Path containerLogDir)
public void cleanupContainer() throws IOException
IOException
public static String getRelativeContainerLogDir(String appIdStr, String containerIdStr)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.