| Modifier and Type | Method and Description | 
|---|---|
| abstract ContainerLaunchContext | StartContainerRequest. getContainerLaunchContext()Get the  ContainerLaunchContextfor the container to be started
 by theNodeManager. | 
| abstract ContainerLaunchContext | ReInitializeContainerRequest. getContainerLaunchContext()Get the  ContainerLaunchContextto re-initialize the container
 with. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ReInitializeContainerRequest | ReInitializeContainerRequest. newInstance(ContainerId containerId,
           ContainerLaunchContext containerLaunchContext,
           boolean autoCommit)Creates a new instance of the ReInitializationContainerRequest. | 
| static StartContainerRequest | StartContainerRequest. newInstance(ContainerLaunchContext context,
           Token container) | 
| abstract void | StartContainerRequest. setContainerLaunchContext(ContainerLaunchContext context)Set the  ContainerLaunchContextfor the container to be started
 by theNodeManager | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ContainerLaunchContext | ApplicationSubmissionContext. getAMContainerSpec()Get the  ContainerLaunchContextto describe theContainerwith which theApplicationMasteris
 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) | 
| 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,
           ContainerRetryContext containerRetryContext) | 
| Modifier and Type | Method and Description | 
|---|---|
| static ApplicationSubmissionContext | ApplicationSubmissionContext. newInstance(ApplicationId applicationId,
           String applicationName,
           String queue,
           ContainerLaunchContext amContainer,
           boolean isUnmanagedAM,
           boolean cancelTokensWhenComplete,
           int maxAppAttempts,
           String applicationType,
           boolean keepContainers,
           String appLabelExpression,
           ResourceRequest resourceRequest) | 
| 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) | 
| static ApplicationSubmissionContext | ApplicationSubmissionContext. newInstance(ApplicationId applicationId,
           String applicationName,
           String queue,
           Priority priority,
           ContainerLaunchContext amContainer,
           boolean isUnmanagedAM,
           boolean cancelTokensWhenComplete,
           int maxAppAttempts,
           Resource resource,
           String applicationType,
           boolean keepContainers) | 
| static ApplicationSubmissionContext | ApplicationSubmissionContext. newInstance(ApplicationId applicationId,
           String applicationName,
           String queue,
           Priority priority,
           ContainerLaunchContext amContainer,
           boolean isUnmanagedAM,
           boolean cancelTokensWhenComplete,
           int maxAppAttempts,
           Resource resource,
           String applicationType,
           boolean keepContainers,
           LogAggregationContext logAggregationContext) | 
| static ApplicationSubmissionContext | ApplicationSubmissionContext. newInstance(ApplicationId applicationId,
           String applicationName,
           String queue,
           Priority priority,
           ContainerLaunchContext amContainer,
           boolean isUnmanagedAM,
           boolean cancelTokensWhenComplete,
           int maxAppAttempts,
           Resource resource,
           String applicationType,
           boolean keepContainers,
           long attemptFailuresValidityInterval) | 
| static ApplicationSubmissionContext | ApplicationSubmissionContext. newInstance(ApplicationId applicationId,
           String applicationName,
           String queue,
           Priority priority,
           ContainerLaunchContext amContainer,
           boolean isUnmanagedAM,
           boolean cancelTokensWhenComplete,
           int maxAppAttempts,
           Resource resource,
           String applicationType,
           boolean keepContainers,
           String appLabelExpression,
           String amContainerLabelExpression) | 
| abstract void | ApplicationSubmissionContext. setAMContainerSpec(ContainerLaunchContext amContainer)Set the  ContainerLaunchContextto describe theContainerwith which theApplicationMasteris
 launched. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | NMClient. reInitializeContainer(ContainerId containerId,
                     ContainerLaunchContext containerLaunchContex,
                     boolean autoCommit)Re-Initialize the Container. | 
| abstract Map<String,ByteBuffer> | NMClient. startContainer(Container container,
              ContainerLaunchContext containerLaunchContext)Start an allocated container. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | NMClientAsync. reInitializeContainerAsync(ContainerId containerId,
                          ContainerLaunchContext containerLaunchContex,
                          boolean autoCommit)Re-Initialize the Container. | 
| abstract void | NMClientAsync. startContainerAsync(Container container,
                   ContainerLaunchContext containerLaunchContext) | 
Copyright © 2023 Apache Software Foundation. All rights reserved.