org.apache.hadoop.yarn.api.protocolrecords
Interface SubmitApplicationRequest


@InterfaceAudience.Public
@InterfaceStability.Stable
public interface SubmitApplicationRequest

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.

See Also:
ClientRMProtocol.submitApplication(SubmitApplicationRequest)

Method Summary
 ApplicationSubmissionContext getApplicationSubmissionContext()
          Get the ApplicationSubmissionContext for the application.
 void setApplicationSubmissionContext(ApplicationSubmissionContext context)
          Set the ApplicationSubmissionContext for the application.
 

Method Detail

getApplicationSubmissionContext

@InterfaceAudience.Public
@InterfaceStability.Stable
ApplicationSubmissionContext getApplicationSubmissionContext()
Get the ApplicationSubmissionContext for the application.

Returns:
ApplicationSubmissionContext for the application

setApplicationSubmissionContext

@InterfaceAudience.Public
@InterfaceStability.Stable
void setApplicationSubmissionContext(ApplicationSubmissionContext context)
Set the ApplicationSubmissionContext for the application.

Parameters:
context - ApplicationSubmissionContext for the application


Copyright © 2012 Apache Software Foundation. All Rights Reserved.