<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Wed May 16 02:00:38 UTC 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
ApplicationSubmissionContext (Apache Hadoop Main 2.0.0-alpha API)
</TITLE>

<META NAME="date" CONTENT="2012-05-16">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="ApplicationSubmissionContext (Apache Hadoop Main 2.0.0-alpha API)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ApplicationSubmissionContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationResourceUsageReport.html" title="interface in org.apache.hadoop.yarn.api.records"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../org/apache/hadoop/yarn/api/records/Container.html" title="interface in org.apache.hadoop.yarn.api.records"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../../index.html?org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ApplicationSubmissionContext.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.hadoop.yarn.api.records</FONT>
<BR>
Interface ApplicationSubmissionContext</H2>
<HR>
<DL>
<DT><PRE><FONT SIZE="-1">@InterfaceAudience.Public
@InterfaceStability.Stable
</FONT>public interface <A HREF="../../../../../../src-html/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#line.51"><B>ApplicationSubmissionContext</B></A></DL>
</PRE>

<P>
<p><code>ApplicationSubmissionContext</code> represents all of the
 information needed by the <code>ResourceManager</code> to launch 
 the <code>ApplicationMaster</code> for an application.</p>
 
 <p>It includes details such as:
   <ul>
     <li><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records"><CODE>ApplicationId</CODE></A> of the application.</li>
     <li>Application user.</li>
     <li>Application name.</li>
     <li><CODE>Priority</CODE> of the application.</li>
     <li>
       <A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="interface in org.apache.hadoop.yarn.api.records"><CODE>ContainerLaunchContext</CODE></A> of the container in which the 
       <code>ApplicationMaster</code> is executed.
     </li>
   </ul>
 </p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="interface in org.apache.hadoop.yarn.api.records"><CODE>ContainerLaunchContext</CODE></A>, 
<A HREF="../../../../../../org/apache/hadoop/yarn/api/ClientRMProtocol.html#submitApplication(org.apache.hadoop.yarn.api.protocolrecords.SubmitApplicationRequest)"><CODE>ClientRMProtocol.submitApplication(org.apache.hadoop.yarn.api.protocolrecords.SubmitApplicationRequest)</CODE></A></DL>
<HR>

<P>

<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="interface in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getAMContainerSpec()">getAMContainerSpec</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the <code>ContainerLaunchContext</code> to describe the 
 <code>Container</code> with which the <code>ApplicationMaster</code> is
 launched.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getApplicationId()">getApplicationId</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the <code>ApplicationId</code> of the submitted application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getApplicationName()">getApplicationName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the application <em>name</em>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.apache.hadoop.yarn.api.records.Priority</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getPriority()">getPriority</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the <code>Priority</code> of the application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getQueue()">getQueue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the <em>queue</em> to which the application is being submitted.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getUser()">getUser</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the <em>user</em> submitting the application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setAMContainerSpec(org.apache.hadoop.yarn.api.records.ContainerLaunchContext)">setAMContainerSpec</A></B>(<A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="interface in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</A>&nbsp;amContainer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the <code>ContainerLaunchContext</code> to describe the 
 <code>Container</code> with which the <code>ApplicationMaster</code> is
 launched.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId)">setApplicationId</A></B>(<A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</A>&nbsp;appplicationId)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the <code>ApplicationId</code> of the submitted application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setApplicationName(java.lang.String)">setApplicationName</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;applicationName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the application <em>name</em>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setPriority(org.apache.hadoop.yarn.api.records.Priority)">setPriority</A></B>(org.apache.hadoop.yarn.api.records.Priority&nbsp;priority)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the <code>Priority</code> of the application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setQueue(java.lang.String)">setQueue</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;queue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the <em>queue</em> to which the application is being submitted</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setUser(java.lang.String)">setUser</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;user)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the <em>user</em> submitting the application.</TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getApplicationId()"><!-- --></A><H3>
getApplicationId</H3>
<PRE>
<FONT SIZE="-1">@InterfaceAudience.Public
@InterfaceStability.Stable
</FONT><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</A> <A HREF="../../../../../../src-html/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#line.58"><B>getApplicationId</B></A>()</PRE>
<DL>
<DD>Get the <code>ApplicationId</code> of the submitted application.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>ApplicationId</code> of the submitted application</DL>
</DD>
</DL>
<HR>

<A NAME="setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId)"><!-- --></A><H3>
setApplicationId</H3>
<PRE>
<FONT SIZE="-1">@InterfaceAudience.Public
@InterfaceStability.Stable
</FONT>void <A HREF="../../../../../../src-html/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#line.67"><B>setApplicationId</B></A>(<A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</A>&nbsp;appplicationId)</PRE>
<DL>
<DD>Set the <code>ApplicationId</code> of the submitted application.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>appplicationId</CODE> - <code>ApplicationId</code> of the submitted 
                       application</DL>
</DD>
</DL>
<HR>

<A NAME="getApplicationName()"><!-- --></A><H3>
getApplicationName</H3>
<PRE>
<FONT SIZE="-1">@InterfaceAudience.Public
@InterfaceStability.Stable
</FONT><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../../../src-html/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#line.75"><B>getApplicationName</B></A>()</PRE>
<DL>
<DD>Get the application <em>name</em>.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>application name</DL>
</DD>
</DL>
<HR>

<A NAME="setApplicationName(java.lang.String)"><!-- --></A><H3>
setApplicationName</H3>
<PRE>
<FONT SIZE="-1">@InterfaceAudience.Public
@InterfaceStability.Stable
</FONT>void <A HREF="../../../../../../src-html/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#line.83"><B>setApplicationName</B></A>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;applicationName)</PRE>
<DL>
<DD>Set the application <em>name</em>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>applicationName</CODE> - application name</DL>
</DD>
</DL>
<HR>

<A NAME="getQueue()"><!-- --></A><H3>
getQueue</H3>
<PRE>
<FONT SIZE="-1">@InterfaceAudience.Public
@InterfaceStability.Stable
</FONT><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../../../src-html/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#line.91"><B>getQueue</B></A>()</PRE>
<DL>
<DD>Get the <em>queue</em> to which the application is being submitted.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><em>queue</em> to which the application is being submitted</DL>
</DD>
</DL>
<HR>

<A NAME="setQueue(java.lang.String)"><!-- --></A><H3>
setQueue</H3>
<PRE>
<FONT SIZE="-1">@InterfaceAudience.Public
@InterfaceStability.Stable
</FONT>void <A HREF="../../../../../../src-html/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#line.99"><B>setQueue</B></A>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;queue)</PRE>
<DL>
<DD>Set the <em>queue</em> to which the application is being submitted
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>queue</CODE> - <em>queue</em> to which the application is being submitted</DL>
</DD>
</DL>
<HR>

<A NAME="getPriority()"><!-- --></A><H3>
getPriority</H3>
<PRE>
<FONT SIZE="-1">@InterfaceAudience.Public
@InterfaceStability.Stable
</FONT>org.apache.hadoop.yarn.api.records.Priority <A HREF="../../../../../../src-html/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#line.107"><B>getPriority</B></A>()</PRE>
<DL>
<DD>Get the <code>Priority</code> of the application.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>Priority</code> of the application</DL>
</DD>
</DL>
<HR>

<A NAME="setPriority(org.apache.hadoop.yarn.api.records.Priority)"><!-- --></A><H3>
setPriority</H3>
<PRE>
<FONT SIZE="-1">@InterfaceAudience.Public
@InterfaceStability.Stable
</FONT>void <A HREF="../../../../../../src-html/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#line.115"><B>setPriority</B></A>(org.apache.hadoop.yarn.api.records.Priority&nbsp;priority)</PRE>
<DL>
<DD>Set the <code>Priority</code> of the application.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>priority</CODE> - <code>Priority</code> of the application</DL>
</DD>
</DL>
<HR>

<A NAME="getUser()"><!-- --></A><H3>
getUser</H3>
<PRE>
<FONT SIZE="-1">@InterfaceAudience.Public
@InterfaceStability.Stable
</FONT><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../../../src-html/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#line.123"><B>getUser</B></A>()</PRE>
<DL>
<DD>Get the <em>user</em> submitting the application.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><em>user</em> submitting the application</DL>
</DD>
</DL>
<HR>

<A NAME="setUser(java.lang.String)"><!-- --></A><H3>
setUser</H3>
<PRE>
<FONT SIZE="-1">@InterfaceAudience.Public
@InterfaceStability.Stable
</FONT>void <A HREF="../../../../../../src-html/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#line.131"><B>setUser</B></A>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;user)</PRE>
<DL>
<DD>Set the <em>user</em> submitting the application.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>user</CODE> - <em>user</em> submitting the application</DL>
</DD>
</DL>
<HR>

<A NAME="getAMContainerSpec()"><!-- --></A><H3>
getAMContainerSpec</H3>
<PRE>
<FONT SIZE="-1">@InterfaceAudience.Public
@InterfaceStability.Stable
</FONT><A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="interface in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</A> <A HREF="../../../../../../src-html/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#line.142"><B>getAMContainerSpec</B></A>()</PRE>
<DL>
<DD>Get the <code>ContainerLaunchContext</code> to describe the 
 <code>Container</code> with which the <code>ApplicationMaster</code> is
 launched.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>ContainerLaunchContext</code> for the 
         <code>ApplicationMaster</code> container</DL>
</DD>
</DL>
<HR>

<A NAME="setAMContainerSpec(org.apache.hadoop.yarn.api.records.ContainerLaunchContext)"><!-- --></A><H3>
setAMContainerSpec</H3>
<PRE>
<FONT SIZE="-1">@InterfaceAudience.Public
@InterfaceStability.Stable
</FONT>void <A HREF="../../../../../../src-html/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#line.153"><B>setAMContainerSpec</B></A>(<A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="interface in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</A>&nbsp;amContainer)</PRE>
<DL>
<DD>Set the <code>ContainerLaunchContext</code> to describe the 
 <code>Container</code> with which the <code>ApplicationMaster</code> is
 launched.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>amContainer</CODE> - <code>ContainerLaunchContext</code> for the 
                    <code>ApplicationMaster</code> container</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ApplicationSubmissionContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationResourceUsageReport.html" title="interface in org.apache.hadoop.yarn.api.records"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../org/apache/hadoop/yarn/api/records/Container.html" title="interface in org.apache.hadoop.yarn.api.records"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../../index.html?org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ApplicationSubmissionContext.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &#169; 2012 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>
