public class AMContainerHelpers extends Object
| Constructor and Description |
|---|
AMContainerHelpers() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.yarn.api.records.ContainerLaunchContext |
createContainerLaunchContext(org.apache.tez.dag.records.TezDAGID tezDAGID,
Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> acls,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> localResources,
Map<String,String> vertexEnv,
String javaOpts,
InetSocketAddress taskAttemptListenerAddress,
org.apache.hadoop.security.Credentials credentials,
AppContext appContext,
org.apache.hadoop.yarn.api.records.Resource containerResource,
org.apache.hadoop.conf.Configuration conf,
String auxiliaryService) |
static org.apache.hadoop.yarn.api.records.LocalResource |
createLocalResource(org.apache.hadoop.fs.FileSystem fc,
org.apache.hadoop.fs.Path file,
org.apache.hadoop.yarn.api.records.LocalResourceType type,
org.apache.hadoop.yarn.api.records.LocalResourceVisibility visibility)
Create a
LocalResource record with all the given parameters. |
static void |
dagComplete(org.apache.tez.dag.records.TezDAGID dagId) |
public static void dagComplete(org.apache.tez.dag.records.TezDAGID dagId)
public static org.apache.hadoop.yarn.api.records.LocalResource createLocalResource(org.apache.hadoop.fs.FileSystem fc,
org.apache.hadoop.fs.Path file,
org.apache.hadoop.yarn.api.records.LocalResourceType type,
org.apache.hadoop.yarn.api.records.LocalResourceVisibility visibility)
throws IOException
LocalResource record with all the given parameters.IOExceptionpublic static org.apache.hadoop.yarn.api.records.ContainerLaunchContext createContainerLaunchContext(org.apache.tez.dag.records.TezDAGID tezDAGID,
Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> acls,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> localResources,
Map<String,String> vertexEnv,
String javaOpts,
InetSocketAddress taskAttemptListenerAddress,
org.apache.hadoop.security.Credentials credentials,
AppContext appContext,
org.apache.hadoop.yarn.api.records.Resource containerResource,
org.apache.hadoop.conf.Configuration conf,
String auxiliaryService)
Copyright © 2020 Apache Software Foundation. All rights reserved.