Example usage for Java org.apache.hadoop.yarn.api.records ApplicationSubmissionContext fields, constructors, methods, implement or subclass
The text is from its open source code.
ContainerLaunchContext | getAMContainerSpec() Get the ContainerLaunchContext to describe the Container with which the ApplicationMaster is launched. |
ApplicationId | getApplicationId() Get the ApplicationId of the submitted application. |
String | getApplicationName() Get the application name. |
long | getAttemptFailuresValidityInterval() Get the attemptFailuresValidityInterval in milliseconds for the application |
String | getQueue() Get the queue to which the application is being submitted. |
Resource | getResource() Get the resource required by the ApplicationMaster for this application. |
ApplicationSubmissionContext | newInstance(ApplicationId applicationId, String applicationName, String queue, Priority priority, ContainerLaunchContext amContainer, boolean isUnmanagedAM, boolean cancelTokensWhenComplete, int maxAppAttempts, Resource resource, String applicationType) |
void | setAMContainerSpec(ContainerLaunchContext amContainer) Set the ContainerLaunchContext to describe the Container with which the ApplicationMaster is launched. |
void | setApplicationId(ApplicationId applicationId) Set the ApplicationId of the submitted application. |
void | setApplicationName(String applicationName) Set the application name. |
void | setApplicationTags(Set Set tags for the application. |
void | setApplicationType(String applicationType) Set the application type |
void | setAttemptFailuresValidityInterval(long attemptFailuresValidityInterval) Set the attemptFailuresValidityInterval in milliseconds for the application |
void | setCancelTokensWhenComplete(boolean cancel) Set to false if tokens should not be canceled when the app finished else false. |
void | setKeepContainersAcrossApplicationAttempts(boolean keepContainers) Set the flag which indicates whether to keep containers across application attempts. |
void | setMaxAppAttempts(int maxAppAttempts) Set the number of max attempts of the application to be submitted. |
void | setNodeLabelExpression(String nodeLabelExpression) Set node-label-expression for this app |
void | setPriority(Priority priority) Set the Priority of the application. |
void | setQueue(String queue) Set the queue to which the application is being submitted |
void | setResource(Resource resource) Set the resource required by the ApplicationMaster for this application. |
void | setUnmanagedAM(boolean value) |