blob: 9889f44b08e5f8fd6e33c667fc7da6f5f86cbfca [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_292) on Tue Jun 15 06:00:51 GMT 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ApplicationSubmissionContext (Apache Hadoop Main 3.3.1 API)</title>
<meta name="date" content="2021-06-15">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ApplicationSubmissionContext (Apache Hadoop Main 3.3.1 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":38,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":38,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ApplicationSubmissionContext.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationResourceUsageReport.html" title="class in org.apache.hadoop.yarn.api.records"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationTimeout.html" title="class in org.apache.hadoop.yarn.api.records"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" target="_top">Frames</a></li>
<li><a href="ApplicationSubmissionContext.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.hadoop.yarn.api.records</div>
<h2 title="Class ApplicationSubmissionContext" class="title">Class ApplicationSubmissionContext</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class <span class="typeNameLabel">ApplicationSubmissionContext</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block"><code>ApplicationSubmissionContext</code> represents all of the
information needed by the <code>ResourceManager</code> to launch
the <code>ApplicationMaster</code> for an application.
<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><a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records"><code>Priority</code></a> of the application.</li>
<li>
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records"><code>ContainerLaunchContext</code></a> of the container in which the
<code>ApplicationMaster</code> is executed.
</li>
<li>
maxAppAttempts. The maximum number of application attempts.
It should be no larger than the global number of max attempts in the
YARN configuration.
</li>
<li>
attemptFailuresValidityInterval. The default value is -1.
when attemptFailuresValidityInterval in milliseconds is set to
&gt; 0, the failure number will no take failures which happen
out of the validityInterval into failure count. If failure count
reaches to maxAppAttempts, the application will be failed.
</li>
<li>Optional, application-specific <a href="../../../../../../org/apache/hadoop/yarn/api/records/LogAggregationContext.html" title="class in org.apache.hadoop.yarn.api.records"><code>LogAggregationContext</code></a></li>
</ul></div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records"><code>ContainerLaunchContext</code></a>,
<a href="../../../../../../org/apache/hadoop/yarn/api/ApplicationClientProtocol.html#submitApplication-org.apache.hadoop.yarn.api.protocolrecords.SubmitApplicationRequest-"><code>ApplicationClientProtocol.submitApplication(org.apache.hadoop.yarn.api.protocolrecords.SubmitApplicationRequest)</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#ApplicationSubmissionContext--">ApplicationSubmissionContext</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../../org/apache/hadoop/yarn/api/records/ResourceRequest.html" title="class in org.apache.hadoop.yarn.api.records">ResourceRequest</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getAMContainerResourceRequest--">getAMContainerResourceRequest</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">See <a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getAMContainerResourceRequests--"><code>getAMContainerResourceRequests()</code></a></span></div>
</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ResourceRequest.html" title="class in org.apache.hadoop.yarn.api.records">ResourceRequest</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getAMContainerResourceRequests--">getAMContainerResourceRequests</a></span>()</code>
<div class="block">Get the ResourceRequests of the AM container.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getAMContainerSpec--">getAMContainerSpec</a></span>()</code>
<div class="block">Get the <code>ContainerLaunchContext</code> to describe the
<code>Container</code> with which the <code>ApplicationMaster</code> is
launched.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getApplicationId--">getApplicationId</a></span>()</code>
<div class="block">Get the <code>ApplicationId</code> of the submitted application.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getApplicationName--">getApplicationName</a></span>()</code>
<div class="block">Get the application <em>name</em>.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getApplicationSchedulingPropertiesMap--">getApplicationSchedulingPropertiesMap</a></span>()</code>
<div class="block">Get application scheduling environment variables stored as a key value
pair map for application.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getApplicationTags--">getApplicationTags</a></span>()</code>
<div class="block">Get tags for the application</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationTimeoutType.html" title="enum in org.apache.hadoop.yarn.api.records">ApplicationTimeoutType</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getApplicationTimeouts--">getApplicationTimeouts</a></span>()</code>
<div class="block">Get <code>ApplicationTimeouts</code> of the application.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getApplicationType--">getApplicationType</a></span>()</code>
<div class="block">Get the application type</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>abstract long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getAttemptFailuresValidityInterval--">getAttemptFailuresValidityInterval</a></span>()</code>
<div class="block">Get the attemptFailuresValidityInterval in milliseconds for the application</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getKeepContainersAcrossApplicationAttempts--">getKeepContainersAcrossApplicationAttempts</a></span>()</code>
<div class="block">Get the flag which indicates whether to keep containers across application
attempts or not.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../../org/apache/hadoop/yarn/api/records/LogAggregationContext.html" title="class in org.apache.hadoop.yarn.api.records">LogAggregationContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getLogAggregationContext--">getLogAggregationContext</a></span>()</code>
<div class="block">Get <code>LogAggregationContext</code> of the application</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getMaxAppAttempts--">getMaxAppAttempts</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getNodeLabelExpression--">getNodeLabelExpression</a></span>()</code>
<div class="block">Get node-label-expression for this app.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getPriority--">getPriority</a></span>()</code>
<div class="block">Get the <code>Priority</code> of the application.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getQueue--">getQueue</a></span>()</code>
<div class="block">Get the <em>queue</em> to which the application is being submitted.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../../org/apache/hadoop/yarn/api/records/ReservationId.html" title="class in org.apache.hadoop.yarn.api.records">ReservationId</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getReservationID--">getReservationID</a></span>()</code>
<div class="block">Get the reservation id, that corresponds to a valid resource allocation in
the scheduler (between start and end time of the corresponding reservation)</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>abstract <a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getResource--">getResource</a></span>()</code>
<div class="block">Get the resource required by the <code>ApplicationMaster</code> for this
application.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getUnmanagedAM--">getUnmanagedAM</a></span>()</code>
<div class="block">Get if the RM should manage the execution of the AM.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-java.lang.String-boolean-java.lang.String-org.apache.hadoop.yarn.api.records.ResourceRequest-">newInstance</a></span>(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType,
boolean&nbsp;keepContainers,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;appLabelExpression,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ResourceRequest.html" title="class in org.apache.hadoop.yarn.api.records">ResourceRequest</a>&nbsp;resourceRequest)</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.Priority-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-org.apache.hadoop.yarn.api.records.Resource-">newInstance</a></span>(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a>&nbsp;priority,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource)</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.Priority-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-org.apache.hadoop.yarn.api.records.Resource-java.lang.String-">newInstance</a></span>(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a>&nbsp;priority,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType)</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.Priority-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-org.apache.hadoop.yarn.api.records.Resource-java.lang.String-boolean-">newInstance</a></span>(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a>&nbsp;priority,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType,
boolean&nbsp;keepContainers)</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.Priority-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-org.apache.hadoop.yarn.api.records.Resource-java.lang.String-boolean-org.apache.hadoop.yarn.api.records.LogAggregationContext-">newInstance</a></span>(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a>&nbsp;priority,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType,
boolean&nbsp;keepContainers,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/LogAggregationContext.html" title="class in org.apache.hadoop.yarn.api.records">LogAggregationContext</a>&nbsp;logAggregationContext)</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.Priority-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-org.apache.hadoop.yarn.api.records.Resource-java.lang.String-boolean-long-">newInstance</a></span>(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a>&nbsp;priority,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType,
boolean&nbsp;keepContainers,
long&nbsp;attemptFailuresValidityInterval)</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.Priority-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-org.apache.hadoop.yarn.api.records.Resource-java.lang.String-boolean-java.lang.String-java.lang.String-">newInstance</a></span>(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a>&nbsp;priority,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType,
boolean&nbsp;keepContainers,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;appLabelExpression,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;amContainerLabelExpression)</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setAMContainerResourceRequest-org.apache.hadoop.yarn.api.records.ResourceRequest-">setAMContainerResourceRequest</a></span>(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ResourceRequest.html" title="class in org.apache.hadoop.yarn.api.records">ResourceRequest</a>&nbsp;request)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">See <a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setAMContainerResourceRequests-java.util.List-"><code>setAMContainerResourceRequests(List)</code></a></span></div>
</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setAMContainerResourceRequests-java.util.List-">setAMContainerResourceRequests</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ResourceRequest.html" title="class in org.apache.hadoop.yarn.api.records">ResourceRequest</a>&gt;&nbsp;requests)</code>
<div class="block">Set ResourceRequests of the AM container.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setAMContainerSpec-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-">setAMContainerSpec</a></span>(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer)</code>
<div class="block">Set the <code>ContainerLaunchContext</code> to describe the
<code>Container</code> with which the <code>ApplicationMaster</code> is
launched.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setApplicationId-org.apache.hadoop.yarn.api.records.ApplicationId-">setApplicationId</a></span>(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId)</code>
<div class="block">Set the <code>ApplicationId</code> of the submitted application.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setApplicationName-java.lang.String-">setApplicationName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName)</code>
<div class="block">Set the application <em>name</em>.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setApplicationSchedulingPropertiesMap-java.util.Map-">setApplicationSchedulingPropertiesMap</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;schedulingEnvMap)</code>
<div class="block">Set the scheduling envs for the application.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setApplicationTags-java.util.Set-">setApplicationTags</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;tags)</code>
<div class="block">Set tags for the application.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setApplicationTimeouts-java.util.Map-">setApplicationTimeouts</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationTimeoutType.html" title="enum in org.apache.hadoop.yarn.api.records">ApplicationTimeoutType</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;&nbsp;applicationTimeouts)</code>
<div class="block">Set the <code>ApplicationTimeouts</code> for the application in seconds.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setApplicationType-java.lang.String-">setApplicationType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType)</code>
<div class="block">Set the application type</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setAttemptFailuresValidityInterval-long-">setAttemptFailuresValidityInterval</a></span>(long&nbsp;attemptFailuresValidityInterval)</code>
<div class="block">Set the attemptFailuresValidityInterval in milliseconds for the application</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setKeepContainersAcrossApplicationAttempts-boolean-">setKeepContainersAcrossApplicationAttempts</a></span>(boolean&nbsp;keepContainers)</code>
<div class="block">Set the flag which indicates whether to keep containers across application
attempts.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setLogAggregationContext-org.apache.hadoop.yarn.api.records.LogAggregationContext-">setLogAggregationContext</a></span>(<a href="../../../../../../org/apache/hadoop/yarn/api/records/LogAggregationContext.html" title="class in org.apache.hadoop.yarn.api.records">LogAggregationContext</a>&nbsp;logAggregationContext)</code>
<div class="block">Set <code>LogAggregationContext</code> for the application</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setMaxAppAttempts-int-">setMaxAppAttempts</a></span>(int&nbsp;maxAppAttempts)</code>
<div class="block">Set the number of max attempts of the application to be submitted.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setNodeLabelExpression-java.lang.String-">setNodeLabelExpression</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nodeLabelExpression)</code>
<div class="block">Set node-label-expression for this app</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setQueue-java.lang.String-">setQueue</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue)</code>
<div class="block">Set the <em>queue</em> to which the application is being submitted</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setReservationID-org.apache.hadoop.yarn.api.records.ReservationId-">setReservationID</a></span>(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ReservationId.html" title="class in org.apache.hadoop.yarn.api.records">ReservationId</a>&nbsp;reservationID)</code>
<div class="block">Set the reservation id, that correspond to a valid resource allocation in
the scheduler (between start and end time of the corresponding reservation)</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setResource-org.apache.hadoop.yarn.api.records.Resource-">setResource</a></span>(<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource)</code>
<div class="block">Set the resource required by the <code>ApplicationMaster</code> for this
application.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setUnmanagedAM-boolean-">setUnmanagedAM</a></span>(boolean&nbsp;value)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ApplicationSubmissionContext--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ApplicationSubmissionContext</h4>
<pre>public&nbsp;ApplicationSubmissionContext()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.Priority-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-org.apache.hadoop.yarn.api.records.Resource-java.lang.String-boolean-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInstance</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public static&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a>&nbsp;newInstance(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a>&nbsp;priority,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType,
boolean&nbsp;keepContainers,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;appLabelExpression,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;amContainerLabelExpression)</pre>
</li>
</ul>
<a name="newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.Priority-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-org.apache.hadoop.yarn.api.records.Resource-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInstance</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a>&nbsp;newInstance(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a>&nbsp;priority,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType,
boolean&nbsp;keepContainers)</pre>
</li>
</ul>
<a name="newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.Priority-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-org.apache.hadoop.yarn.api.records.Resource-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInstance</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public static&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a>&nbsp;newInstance(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a>&nbsp;priority,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType)</pre>
</li>
</ul>
<a name="newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.Priority-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-org.apache.hadoop.yarn.api.records.Resource-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInstance</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public static&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a>&nbsp;newInstance(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a>&nbsp;priority,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource)</pre>
</li>
</ul>
<a name="newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-java.lang.String-boolean-java.lang.String-org.apache.hadoop.yarn.api.records.ResourceRequest-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInstance</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public static&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a>&nbsp;newInstance(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType,
boolean&nbsp;keepContainers,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;appLabelExpression,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ResourceRequest.html" title="class in org.apache.hadoop.yarn.api.records">ResourceRequest</a>&nbsp;resourceRequest)</pre>
</li>
</ul>
<a name="newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.Priority-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-org.apache.hadoop.yarn.api.records.Resource-java.lang.String-boolean-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInstance</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public static&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a>&nbsp;newInstance(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a>&nbsp;priority,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType,
boolean&nbsp;keepContainers,
long&nbsp;attemptFailuresValidityInterval)</pre>
</li>
</ul>
<a name="newInstance-org.apache.hadoop.yarn.api.records.ApplicationId-java.lang.String-java.lang.String-org.apache.hadoop.yarn.api.records.Priority-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-boolean-boolean-int-org.apache.hadoop.yarn.api.records.Resource-java.lang.String-boolean-org.apache.hadoop.yarn.api.records.LogAggregationContext-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newInstance</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public static&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationSubmissionContext</a>&nbsp;newInstance(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a>&nbsp;priority,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer,
boolean&nbsp;isUnmanagedAM,
boolean&nbsp;cancelTokensWhenComplete,
int&nbsp;maxAppAttempts,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType,
boolean&nbsp;keepContainers,
<a href="../../../../../../org/apache/hadoop/yarn/api/records/LogAggregationContext.html" title="class in org.apache.hadoop.yarn.api.records">LogAggregationContext</a>&nbsp;logAggregationContext)</pre>
</li>
</ul>
<a name="getApplicationId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApplicationId</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;getApplicationId()</pre>
<div class="block">Get the <code>ApplicationId</code> of the submitted application.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>ApplicationId</code> of the submitted application</dd>
</dl>
</li>
</ul>
<a name="setApplicationId-org.apache.hadoop.yarn.api.records.ApplicationId-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setApplicationId</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;void&nbsp;setApplicationId(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationId.html" title="class in org.apache.hadoop.yarn.api.records">ApplicationId</a>&nbsp;applicationId)</pre>
<div class="block">Set the <code>ApplicationId</code> of the submitted application.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>applicationId</code> - <code>ApplicationId</code> of the submitted
application</dd>
</dl>
</li>
</ul>
<a name="getApplicationName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApplicationName</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getApplicationName()</pre>
<div class="block">Get the application <em>name</em>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>application name</dd>
</dl>
</li>
</ul>
<a name="setApplicationName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setApplicationName</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;void&nbsp;setApplicationName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationName)</pre>
<div class="block">Set the application <em>name</em>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>applicationName</code> - application name</dd>
</dl>
</li>
</ul>
<a name="getQueue--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQueue</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getQueue()</pre>
<div class="block">Get the <em>queue</em> to which the application is being submitted.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><em>queue</em> to which the application is being submitted</dd>
</dl>
</li>
</ul>
<a name="setQueue-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setQueue</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;void&nbsp;setQueue(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;queue)</pre>
<div class="block">Set the <em>queue</em> to which the application is being submitted</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>queue</code> - <em>queue</em> to which the application is being submitted</dd>
</dl>
</li>
</ul>
<a name="getPriority--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPriority</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/Priority.html" title="class in org.apache.hadoop.yarn.api.records">Priority</a>&nbsp;getPriority()</pre>
<div class="block">Get the <code>Priority</code> of the application.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>Priority</code> of the application</dd>
</dl>
</li>
</ul>
<a name="getAMContainerSpec--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAMContainerSpec</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;getAMContainerSpec()</pre>
<div class="block">Get the <code>ContainerLaunchContext</code> to describe the
<code>Container</code> with which the <code>ApplicationMaster</code> is
launched.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>ContainerLaunchContext</code> for the
<code>ApplicationMaster</code> container</dd>
</dl>
</li>
</ul>
<a name="setAMContainerSpec-org.apache.hadoop.yarn.api.records.ContainerLaunchContext-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAMContainerSpec</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;void&nbsp;setAMContainerSpec(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ContainerLaunchContext.html" title="class in org.apache.hadoop.yarn.api.records">ContainerLaunchContext</a>&nbsp;amContainer)</pre>
<div class="block">Set the <code>ContainerLaunchContext</code> to describe the
<code>Container</code> with which the <code>ApplicationMaster</code> is
launched.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>amContainer</code> - <code>ContainerLaunchContext</code> for the
<code>ApplicationMaster</code> container</dd>
</dl>
</li>
</ul>
<a name="getUnmanagedAM--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnmanagedAM</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;boolean&nbsp;getUnmanagedAM()</pre>
<div class="block">Get if the RM should manage the execution of the AM.
If true, then the RM
will not allocate a container for the AM and start it. It will expect the
AM to be launched and connect to the RM within the AM liveliness period and
fail the app otherwise. The client should launch the AM only after the RM
has ACCEPTED the application and changed the <code>YarnApplicationState</code>.
Such apps will not be retried by the RM on app attempt failure.
The default value is false.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the AM is not managed by the RM</dd>
</dl>
</li>
</ul>
<a name="setUnmanagedAM-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUnmanagedAM</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;void&nbsp;setUnmanagedAM(boolean&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - true if RM should not manage the AM</dd>
</dl>
</li>
</ul>
<a name="getMaxAppAttempts--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxAppAttempts</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;int&nbsp;getMaxAppAttempts()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of max attempts of the application to be submitted</dd>
</dl>
</li>
</ul>
<a name="setMaxAppAttempts-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxAppAttempts</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;void&nbsp;setMaxAppAttempts(int&nbsp;maxAppAttempts)</pre>
<div class="block">Set the number of max attempts of the application to be submitted. WARNING:
it should be no larger than the global number of max attempts in the Yarn
configuration.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxAppAttempts</code> - the number of max attempts of the application
to be submitted.</dd>
</dl>
</li>
</ul>
<a name="getResource--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResource</h4>
<pre>@InterfaceAudience.Public
public abstract&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;getResource()</pre>
<div class="block">Get the resource required by the <code>ApplicationMaster</code> for this
application. Please note this will be DEPRECATED, use <em>getResource</em>
in <em>getAMContainerResourceRequest</em> instead.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the resource required by the <code>ApplicationMaster</code> for
this application.</dd>
</dl>
</li>
</ul>
<a name="setResource-org.apache.hadoop.yarn.api.records.Resource-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResource</h4>
<pre>@InterfaceAudience.Public
public abstract&nbsp;void&nbsp;setResource(<a href="../../../../../../org/apache/hadoop/yarn/api/records/Resource.html" title="class in org.apache.hadoop.yarn.api.records">Resource</a>&nbsp;resource)</pre>
<div class="block">Set the resource required by the <code>ApplicationMaster</code> for this
application.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>resource</code> - the resource required by the <code>ApplicationMaster</code>
for this application.</dd>
</dl>
</li>
</ul>
<a name="getApplicationType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApplicationType</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getApplicationType()</pre>
<div class="block">Get the application type</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the application type</dd>
</dl>
</li>
</ul>
<a name="setApplicationType-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setApplicationType</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;void&nbsp;setApplicationType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;applicationType)</pre>
<div class="block">Set the application type</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>applicationType</code> - the application type</dd>
</dl>
</li>
</ul>
<a name="getKeepContainersAcrossApplicationAttempts--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKeepContainersAcrossApplicationAttempts</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;boolean&nbsp;getKeepContainersAcrossApplicationAttempts()</pre>
<div class="block">Get the flag which indicates whether to keep containers across application
attempts or not.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the flag which indicates whether to keep containers across
application attempts or not.</dd>
</dl>
</li>
</ul>
<a name="setKeepContainersAcrossApplicationAttempts-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setKeepContainersAcrossApplicationAttempts</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;void&nbsp;setKeepContainersAcrossApplicationAttempts(boolean&nbsp;keepContainers)</pre>
<div class="block">Set the flag which indicates whether to keep containers across application
attempts.
<p>
For managed AM, if the flag is true, running containers will not be killed
when application attempt fails and these containers will be retrieved by
the new application attempt on registration via
<a href="../../../../../../org/apache/hadoop/yarn/api/ApplicationMasterProtocol.html#registerApplicationMaster-org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterRequest-"><code>ApplicationMasterProtocol.registerApplicationMaster(RegisterApplicationMasterRequest)</code></a>.
</p>
<p>
For unmanaged AM, if the flag is true, RM allows re-register and returns
the running containers in the same attempt back to the UAM for HA.
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>keepContainers</code> - the flag which indicates whether to keep containers
across application attempts.</dd>
</dl>
</li>
</ul>
<a name="getApplicationTags--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApplicationTags</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getApplicationTags()</pre>
<div class="block">Get tags for the application</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the application tags</dd>
</dl>
</li>
</ul>
<a name="setApplicationTags-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setApplicationTags</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;void&nbsp;setApplicationTags(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;tags)</pre>
<div class="block">Set tags for the application. A maximum of
<a href="../../../../../../org/apache/hadoop/yarn/conf/YarnConfiguration.html#RM_APPLICATION_MAX_TAGS"><code>YarnConfiguration.RM_APPLICATION_MAX_TAGS</code></a> are allowed
per application. Each tag can be at most
<a href="../../../../../../org/apache/hadoop/yarn/conf/YarnConfiguration.html#RM_APPLICATION_MAX_TAG_LENGTH"><code>YarnConfiguration.RM_APPLICATION_MAX_TAG_LENGTH</code></a>
characters, and can contain only ASCII characters.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tags</code> - tags to set</dd>
</dl>
</li>
</ul>
<a name="getNodeLabelExpression--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodeLabelExpression</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Evolving
public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNodeLabelExpression()</pre>
<div class="block">Get node-label-expression for this app. If this is set, all containers of
this application without setting node-label-expression in ResurceRequest
will get allocated resources on only those nodes that satisfy this
node-label-expression.
If different node-label-expression of this app and ResourceRequest are set
at the same time, the one set in ResourceRequest will be used when
allocating container</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>node-label-expression for this app</dd>
</dl>
</li>
</ul>
<a name="setNodeLabelExpression-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNodeLabelExpression</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Evolving
public abstract&nbsp;void&nbsp;setNodeLabelExpression(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nodeLabelExpression)</pre>
<div class="block">Set node-label-expression for this app</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodeLabelExpression</code> - node-label-expression of this app</dd>
</dl>
</li>
</ul>
<a name="getAMContainerResourceRequest--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAMContainerResourceRequest</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Evolving
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public abstract&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ResourceRequest.html" title="class in org.apache.hadoop.yarn.api.records">ResourceRequest</a>&nbsp;getAMContainerResourceRequest()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">See <a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#getAMContainerResourceRequests--"><code>getAMContainerResourceRequests()</code></a></span></div>
<div class="block">Get the ResourceRequest of the AM container.
If this is not null, scheduler will use this to acquire resource for AM
container.
If this is null, scheduler will assemble a ResourceRequest by using
<em>getResource</em> and <em>getPriority</em> of
<em>ApplicationSubmissionContext</em>.
Number of containers and Priority will be ignored.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>ResourceRequest of the AM container</dd>
</dl>
</li>
</ul>
<a name="setAMContainerResourceRequest-org.apache.hadoop.yarn.api.records.ResourceRequest-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAMContainerResourceRequest</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Evolving
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public abstract&nbsp;void&nbsp;setAMContainerResourceRequest(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ResourceRequest.html" title="class in org.apache.hadoop.yarn.api.records">ResourceRequest</a>&nbsp;request)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">See <a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setAMContainerResourceRequests-java.util.List-"><code>setAMContainerResourceRequests(List)</code></a></span></div>
<div class="block">Set ResourceRequest of the AM container</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - of the AM container</dd>
</dl>
</li>
</ul>
<a name="getAMContainerResourceRequests--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAMContainerResourceRequests</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Evolving
public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ResourceRequest.html" title="class in org.apache.hadoop.yarn.api.records">ResourceRequest</a>&gt;&nbsp;getAMContainerResourceRequests()</pre>
<div class="block">Get the ResourceRequests of the AM container.
If this is not null, scheduler will use this to acquire resource for AM
container.
If this is null, scheduler will use the ResourceRequest as determined by
<em>getAMContainerResourceRequest</em> and its behavior.
Number of containers and Priority will be ignored.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>List of ResourceRequests of the AM container</dd>
</dl>
</li>
</ul>
<a name="setAMContainerResourceRequests-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAMContainerResourceRequests</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Evolving
public abstract&nbsp;void&nbsp;setAMContainerResourceRequests(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ResourceRequest.html" title="class in org.apache.hadoop.yarn.api.records">ResourceRequest</a>&gt;&nbsp;requests)</pre>
<div class="block">Set ResourceRequests of the AM container.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>requests</code> - of the AM container</dd>
</dl>
</li>
</ul>
<a name="getAttemptFailuresValidityInterval--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttemptFailuresValidityInterval</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;long&nbsp;getAttemptFailuresValidityInterval()</pre>
<div class="block">Get the attemptFailuresValidityInterval in milliseconds for the application</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the attemptFailuresValidityInterval</dd>
</dl>
</li>
</ul>
<a name="setAttemptFailuresValidityInterval-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAttemptFailuresValidityInterval</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;void&nbsp;setAttemptFailuresValidityInterval(long&nbsp;attemptFailuresValidityInterval)</pre>
<div class="block">Set the attemptFailuresValidityInterval in milliseconds for the application</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>attemptFailuresValidityInterval</code> - </dd>
</dl>
</li>
</ul>
<a name="getLogAggregationContext--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogAggregationContext</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/LogAggregationContext.html" title="class in org.apache.hadoop.yarn.api.records">LogAggregationContext</a>&nbsp;getLogAggregationContext()</pre>
<div class="block">Get <code>LogAggregationContext</code> of the application</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>LogAggregationContext</code> of the application</dd>
</dl>
</li>
</ul>
<a name="setLogAggregationContext-org.apache.hadoop.yarn.api.records.LogAggregationContext-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLogAggregationContext</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract&nbsp;void&nbsp;setLogAggregationContext(<a href="../../../../../../org/apache/hadoop/yarn/api/records/LogAggregationContext.html" title="class in org.apache.hadoop.yarn.api.records">LogAggregationContext</a>&nbsp;logAggregationContext)</pre>
<div class="block">Set <code>LogAggregationContext</code> for the application</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>logAggregationContext</code> - for the application</dd>
</dl>
</li>
</ul>
<a name="getReservationID--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReservationID</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract&nbsp;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ReservationId.html" title="class in org.apache.hadoop.yarn.api.records">ReservationId</a>&nbsp;getReservationID()</pre>
<div class="block">Get the reservation id, that corresponds to a valid resource allocation in
the scheduler (between start and end time of the corresponding reservation)</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the reservation id representing the unique id of the corresponding
reserved resource allocation in the scheduler</dd>
</dl>
</li>
</ul>
<a name="setReservationID-org.apache.hadoop.yarn.api.records.ReservationId-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setReservationID</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract&nbsp;void&nbsp;setReservationID(<a href="../../../../../../org/apache/hadoop/yarn/api/records/ReservationId.html" title="class in org.apache.hadoop.yarn.api.records">ReservationId</a>&nbsp;reservationID)</pre>
<div class="block">Set the reservation id, that correspond to a valid resource allocation in
the scheduler (between start and end time of the corresponding reservation)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>reservationID</code> - representing the unique id of the
corresponding reserved resource allocation in the scheduler</dd>
</dl>
</li>
</ul>
<a name="getApplicationTimeouts--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApplicationTimeouts</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationTimeoutType.html" title="enum in org.apache.hadoop.yarn.api.records">ApplicationTimeoutType</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;&nbsp;getApplicationTimeouts()</pre>
<div class="block">Get <code>ApplicationTimeouts</code> of the application. Timeout value is
in seconds.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>all <code>ApplicationTimeouts</code> of the application.</dd>
</dl>
</li>
</ul>
<a name="setApplicationTimeouts-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setApplicationTimeouts</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract&nbsp;void&nbsp;setApplicationTimeouts(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationTimeoutType.html" title="enum in org.apache.hadoop.yarn.api.records">ApplicationTimeoutType</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;&nbsp;applicationTimeouts)</pre>
<div class="block">Set the <code>ApplicationTimeouts</code> for the application in seconds.
All pre-existing Map entries are cleared before adding the new Map.
<p>
<b>Note:</b> If application timeout value is less than or equal to zero
then application submission will throw an exception.
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>applicationTimeouts</code> - <code>ApplicationTimeouts</code>s for the
application</dd>
</dl>
</li>
</ul>
<a name="getApplicationSchedulingPropertiesMap--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApplicationSchedulingPropertiesMap</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getApplicationSchedulingPropertiesMap()</pre>
<div class="block">Get application scheduling environment variables stored as a key value
pair map for application.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>placement envs for application.</dd>
</dl>
</li>
</ul>
<a name="setApplicationSchedulingPropertiesMap-java.util.Map-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setApplicationSchedulingPropertiesMap</h4>
<pre>@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract&nbsp;void&nbsp;setApplicationSchedulingPropertiesMap(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;schedulingEnvMap)</pre>
<div class="block">Set the scheduling envs for the application.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>schedulingEnvMap</code> - A map of env's for the application scheduling preferences.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ApplicationSubmissionContext.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationResourceUsageReport.html" title="class in org.apache.hadoop.yarn.api.records"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/hadoop/yarn/api/records/ApplicationTimeout.html" title="class in org.apache.hadoop.yarn.api.records"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html" target="_top">Frames</a></li>
<li><a href="ApplicationSubmissionContext.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2021 <a href="https://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>