| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| org.apache.hadoop.yarn.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ContainerLaunchContext | ReInitializeContainerRequest. getContainerLaunchContext()Get the  ContainerLaunchContextto re-initialize the container
 with. | 
| abstract ContainerLaunchContext | StartContainerRequest. getContainerLaunchContext()Get the  ContainerLaunchContextfor the container to be started
 by theNodeManager. | 
| 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 | ReInitializeContainerRequest. setContainerLaunchContext(ContainerLaunchContext containerLaunchContext)Set the  ContainerLaunchContextto re-initialize the container
 with. | 
| 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. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.