Modifier and Type | Method and Description |
---|---|
ContainerLaunchContext |
ContainerRemoteLaunchEvent.getContainerLaunchContext() |
Constructor and Description |
---|
ContainerRemoteLaunchEvent(TaskAttemptId taskAttemptID,
ContainerLaunchContext containerLaunchContext,
Container allocatedContainer,
Task remoteTask) |
Modifier and Type | Method and Description |
---|---|
abstract ContainerLaunchContext |
StartContainerRequest.getContainerLaunchContext()
Get the
ContainerLaunchContext for the container to be started
by the NodeManager . |
Modifier and Type | Method and Description |
---|---|
static StartContainerRequest |
StartContainerRequest.newInstance(ContainerLaunchContext context,
Token container) |
abstract void |
StartContainerRequest.setContainerLaunchContext(ContainerLaunchContext context)
Set the
ContainerLaunchContext for the container to be started
by the NodeManager |
Modifier and Type | Method and Description |
---|---|
ContainerLaunchContext |
StartContainerRequestPBImpl.getContainerLaunchContext() |
Modifier and Type | Method and Description |
---|---|
void |
StartContainerRequestPBImpl.setContainerLaunchContext(ContainerLaunchContext containerLaunchContext) |
Modifier and Type | Method and Description |
---|---|
abstract ContainerLaunchContext |
ApplicationSubmissionContext.getAMContainerSpec()
Get the
ContainerLaunchContext to describe the
Container with which the ApplicationMaster is
launched. |
static ContainerLaunchContext |
ContainerLaunchContext.newInstance(Map<String,LocalResource> localResources,
Map<String,String> environment,
List<String> commands,
Map<String,ByteBuffer> serviceData,
ByteBuffer tokens,
Map<ApplicationAccessType,String> acls) |
Modifier and Type | Method and Description |
---|---|
static ApplicationSubmissionContext |
ApplicationSubmissionContext.newInstance(ApplicationId applicationId,
String applicationName,
String queue,
Priority priority,
ContainerLaunchContext amContainer,
boolean isUnmanagedAM,
boolean cancelTokensWhenComplete,
int maxAppAttempts,
Resource resource) |
static ApplicationSubmissionContext |
ApplicationSubmissionContext.newInstance(ApplicationId applicationId,
String applicationName,
String queue,
Priority priority,
ContainerLaunchContext amContainer,
boolean isUnmanagedAM,
boolean cancelTokensWhenComplete,
int maxAppAttempts,
Resource resource,
String applicationType) |
abstract void |
ApplicationSubmissionContext.setAMContainerSpec(ContainerLaunchContext amContainer)
Set the
ContainerLaunchContext to describe the
Container with which the ApplicationMaster is
launched. |
Modifier and Type | Class and Description |
---|---|
class |
ContainerLaunchContextPBImpl |
Modifier and Type | Method and Description |
---|---|
ContainerLaunchContext |
ApplicationSubmissionContextPBImpl.getAMContainerSpec() |
Modifier and Type | Method and Description |
---|---|
void |
ApplicationSubmissionContextPBImpl.setAMContainerSpec(ContainerLaunchContext amContainer) |
Modifier and Type | Method and Description |
---|---|
abstract Map<String,ByteBuffer> |
NMClient.startContainer(Container container,
ContainerLaunchContext containerLaunchContext)
Start an allocated container.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
NMClientAsync.startContainerAsync(Container container,
ContainerLaunchContext containerLaunchContext) |
Modifier and Type | Method and Description |
---|---|
ContainerLaunchContext |
NMClientAsyncImpl.StartContainerEvent.getContainerLaunchContext() |
Modifier and Type | Method and Description |
---|---|
void |
NMClientAsyncImpl.startContainerAsync(Container container,
ContainerLaunchContext containerLaunchContext) |
Constructor and Description |
---|
NMClientAsyncImpl.StartContainerEvent(Container container,
ContainerLaunchContext containerLaunchContext) |
Modifier and Type | Method and Description |
---|---|
Map<String,ByteBuffer> |
NMClientImpl.startContainer(Container container,
ContainerLaunchContext containerLaunchContext) |
Modifier and Type | Method and Description |
---|---|
ContainerLaunchContext |
ContainerImpl.getLaunchContext() |
ContainerLaunchContext |
Container.getLaunchContext() |
Constructor and Description |
---|
ContainerImpl(Configuration conf,
Dispatcher dispatcher,
ContainerLaunchContext launchContext,
Credentials creds,
NodeManagerMetrics metrics,
ContainerTokenIdentifier containerTokenIdentifier) |
Modifier and Type | Method and Description |
---|---|
static ContainerLaunchContext |
BuilderUtils.newContainerLaunchContext(Map<String,LocalResource> localResources,
Map<String,String> environment,
List<String> commands,
Map<String,ByteBuffer> serviceData,
ByteBuffer tokens,
Map<ApplicationAccessType,String> acls) |
Modifier and Type | Method and Description |
---|---|
static ApplicationSubmissionContext |
BuilderUtils.newApplicationSubmissionContext(ApplicationId applicationId,
String applicationName,
String queue,
Priority priority,
ContainerLaunchContext amContainer,
boolean isUnmanagedAM,
boolean cancelTokensWhenComplete,
int maxAppAttempts,
Resource resource) |
static ApplicationSubmissionContext |
BuilderUtils.newApplicationSubmissionContext(ApplicationId applicationId,
String applicationName,
String queue,
Priority priority,
ContainerLaunchContext amContainer,
boolean isUnmanagedAM,
boolean cancelTokensWhenComplete,
int maxAppAttempts,
Resource resource,
String applicationType) |
Copyright © 2013 Apache Software Foundation. All rights reserved.