@InterfaceAudience.Public @InterfaceStability.Stable public abstract class SubmitApplicationRequest extends Object
The request sent by a client to submit an application to the
ResourceManager
.
The request, via ApplicationSubmissionContext
, contains
details such as queue, Resource
required to run the
ApplicationMaster
, the equivalent of
ContainerLaunchContext
for launching the
ApplicationMaster
etc.
Constructor and Description |
---|
SubmitApplicationRequest() |
Modifier and Type | Method and Description |
---|---|
abstract ApplicationSubmissionContext |
getApplicationSubmissionContext()
Get the
ApplicationSubmissionContext for the application. |
static SubmitApplicationRequest |
newInstance(ApplicationSubmissionContext context) |
abstract void |
setApplicationSubmissionContext(ApplicationSubmissionContext context)
Set the
ApplicationSubmissionContext for the application. |
@InterfaceAudience.Public @InterfaceStability.Stable public static SubmitApplicationRequest newInstance(ApplicationSubmissionContext context)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract ApplicationSubmissionContext getApplicationSubmissionContext()
ApplicationSubmissionContext
for the application.ApplicationSubmissionContext
for the application@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setApplicationSubmissionContext(ApplicationSubmissionContext context)
ApplicationSubmissionContext
for the application.context
- ApplicationSubmissionContext
for the
applicationCopyright © 2020 Apache Software Foundation. All rights reserved.