<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: YARN Applications wait for long time in Accepted State in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213163#M81961</link>
    <description>&lt;P&gt;Resource Manager Restart cleans cache of RM and resolves issue.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Aug 2018 19:12:11 GMT</pubDate>
    <dc:creator>bkandalkar</dc:creator>
    <dc:date>2018-08-16T19:12:11Z</dc:date>
    <item>
      <title>YARN Applications wait for long time in Accepted State</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213151#M81949</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;We are using HDP-2.5.6 in Production cluster. We have 5 queues configured in capacity scheduler.&lt;/P&gt;&lt;P&gt;We have given 840 GB of total memory to Yarn. Preemption is enabled for all queue.&lt;/P&gt;&lt;P&gt;Out of that for 'talend' queue we have given 25% as min capacity and 100% as max capacity. Attached screenshot for 'talend' queue &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/85599-talend-queue.png"&gt;talend-queue.png&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;The problem is, though 'talend' queue has lot of resources available applications are going into accepted state for long time. Attached screenshot for accepted  application &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/85601-accepted-application.png"&gt;accepted-application.png&lt;/A&gt;. Some applications are even in accepted state for more that 5 hours. &lt;/P&gt;&lt;P&gt;Diagnostic section is showing wrong AM resource. &lt;/P&gt;&lt;P&gt;In ResourceManager logs, we are getting following message:&lt;/P&gt;&lt;PRE&gt;2018-08-10 06:12:13,129 INFO  capacity.LeafQueue (LeafQueue.java:activateApplications(662)) - Not activating application application_1529949441873_131872 as  amIfStarted: &amp;lt;memory:348160, vCores:85&amp;gt; exceeds amLimit: &amp;lt;memory:344064, vCores:1&amp;gt;
2018-08-10 06:12:13,129 INFO  capacity.LeafQueue (LeafQueue.java:activateApplications(662)) - Not activating application application_1529949441873_131873 as  amIfStarted: &amp;lt;memory:348160, vCores:85&amp;gt; exceeds amLimit: &amp;lt;memory:344064, vCores:1&amp;gt;
2018-08-10 06:12:13,129 INFO  capacity.LeafQueue (LeafQueue.java:activateApplications(662)) - Not activating application application_1529949441873_131874 as  amIfStarted: &amp;lt;memory:348160, vCores:85&amp;gt; exceeds amLimit: &amp;lt;memory:344064, vCores:1&amp;gt;
&lt;/PRE&gt;&lt;P&gt;We have AM resources available in queue but it shows exceeds amLimit message. Also amLimit is not correct.&lt;/P&gt;&lt;P&gt;Why applications are going in accepted state though we have lot of resources available at queue level?&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 20:49:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213151#M81949</guid>
      <dc:creator>bkandalkar</dc:creator>
      <dc:date>2018-08-10T20:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Applications wait for long time in Accepted State</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213152#M81950</link>
      <description>&lt;P&gt;what is the max, min container size you have in your YARN configuration ?&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 07:39:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213152#M81950</guid>
      <dc:creator>hamdan</dc:creator>
      <dc:date>2018-08-11T07:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Applications wait for long time in Accepted State</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213153#M81951</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19252/mohammadhamdan.html" nodeid="19252"&gt;@Mohammad Hamdan&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Min container size is 4GB and max container size is 8GB.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 09:13:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213153#M81951</guid>
      <dc:creator>bkandalkar</dc:creator>
      <dc:date>2018-08-11T09:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Applications wait for long time in Accepted State</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213154#M81952</link>
      <description>&lt;P&gt;Could you open RM UI and share a screen shot for the main page as first step ?&lt;BR /&gt;&lt;BR /&gt;also can you share a full log for RM active node as next step ?&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 09:59:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213154#M81952</guid>
      <dc:creator>hamdan</dc:creator>
      <dc:date>2018-08-11T09:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Applications wait for long time in Accepted State</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213155#M81953</link>
      <description>&lt;P&gt;Please find attached RM UI and RM Scheduler screenshou. Will attach RM logs soon. &lt;BR /&gt;Please suggest.&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/85603-rm-scheduler.png"&gt;rm-scheduler.png&lt;/A&gt; &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/85604-rm-ui.png"&gt;rm-ui.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 10:20:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213155#M81953</guid>
      <dc:creator>bkandalkar</dc:creator>
      <dc:date>2018-08-11T10:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Applications wait for long time in Accepted State</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213156#M81954</link>
      <description>&lt;P&gt;What is the value of amshare on leafqueue try to set it to -1.0f &lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 10:37:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213156#M81954</guid>
      <dc:creator>hamdan</dc:creator>
      <dc:date>2018-08-11T10:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Applications wait for long time in Accepted State</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213157#M81955</link>
      <description>&lt;P&gt;amshare value is 0.4 i.e. 40%. Whats the meaning of -1.0f? I did not get.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 10:56:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213157#M81955</guid>
      <dc:creator>bkandalkar</dc:creator>
      <dc:date>2018-08-11T10:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Applications wait for long time in Accepted State</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213158#M81956</link>
      <description>&lt;P&gt;Could you go to ambari -&amp;gt; yarn -&amp;gt; Advanced -&amp;gt; Scheduler -&amp;gt; Capacity Scheduler. and paste it here.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Aug 2018 06:23:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213158#M81956</guid>
      <dc:creator>hamdan</dc:creator>
      <dc:date>2018-08-12T06:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Applications wait for long time in Accepted State</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213159#M81957</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19252/mohammadhamdan.html" nodeid="19252"&gt;@Mohammad Hamdan&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Here is content of capacity scheduler. Please suggest:&lt;/P&gt;&lt;PRE&gt;yarn.scheduler.capacity.maximum-am-resource-percent=0.2
yarn.scheduler.capacity.maximum-applications=10000
yarn.scheduler.capacity.node-locality-delay=40
yarn.scheduler.capacity.root.accessible-node-labels=*
yarn.scheduler.capacity.root.acl_administer_queue=*
yarn.scheduler.capacity.root.capacity=100
yarn.scheduler.capacity.root.default.acl_submit_applications=*
yarn.scheduler.capacity.root.default.capacity=25
yarn.scheduler.capacity.root.default.maximum-capacity=50
yarn.scheduler.capacity.root.default.state=RUNNING
yarn.scheduler.capacity.root.default.user-limit-factor=2
yarn.scheduler.capacity.root.queues=default,hs2,longrun,sqoop,talend
yarn.scheduler.capacity.queue-mappings=u:talenduser:talend,u:dbenefi:longrun,u:sqoop:sqoop
yarn.scheduler.capacity.queue-mappings-override.enable=false
yarn.scheduler.capacity.root.default.maximum-am-resource-percent=1
yarn.scheduler.capacity.root.hs2.acl_submit_applications=*
yarn.scheduler.capacity.root.hs2.capacity=25
yarn.scheduler.capacity.root.hs2.maximum-am-resource-percent=0.4
yarn.scheduler.capacity.root.hs2.maximum-applications=500
yarn.scheduler.capacity.root.hs2.maximum-capacity=100
yarn.scheduler.capacity.root.hs2.ordering-policy=fair
yarn.scheduler.capacity.root.hs2.ordering-policy.fair.enable-size-based-weight=true
yarn.scheduler.capacity.root.hs2.state=RUNNING
yarn.scheduler.capacity.root.hs2.user-limit-factor=4
yarn.scheduler.capacity.root.longrun.acl_submit_applications=*
yarn.scheduler.capacity.root.longrun.capacity=15
yarn.scheduler.capacity.root.longrun.maximum-capacity=15
yarn.scheduler.capacity.root.longrun.state=RUNNING
yarn.scheduler.capacity.root.longrun.user-limit-factor=1
yarn.scheduler.capacity.root.sqoop.acl_submit_applications=*
yarn.scheduler.capacity.root.sqoop.capacity=10
yarn.scheduler.capacity.root.sqoop.maximum-am-resource-percent=1
yarn.scheduler.capacity.root.sqoop.maximum-capacity=100
yarn.scheduler.capacity.root.sqoop.state=RUNNING
yarn.scheduler.capacity.root.sqoop.user-limit-factor=10
yarn.scheduler.capacity.root.talend.acl_submit_applications=*
yarn.scheduler.capacity.root.talend.capacity=25
yarn.scheduler.capacity.root.talend.maximum-am-resource-percent=0.4
yarn.scheduler.capacity.root.talend.maximum-applications=500
yarn.scheduler.capacity.root.talend.maximum-capacity=100
yarn.scheduler.capacity.root.talend.ordering-policy=fair
yarn.scheduler.capacity.root.talend.ordering-policy.fair.enable-size-based-weight=true
yarn.scheduler.capacity.root.talend.state=RUNNING
yarn.scheduler.capacity.root.talend.user-limit-factor=4

&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 12 Aug 2018 09:46:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213159#M81957</guid>
      <dc:creator>bkandalkar</dc:creator>
      <dc:date>2018-08-12T09:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Applications wait for long time in Accepted State</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213160#M81958</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159"&gt;@Sandeep Nemuri&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/503/awadhwani.html" nodeid="503"&gt;@Arti Wadhwani&lt;/A&gt; Please suggest.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Aug 2018 11:37:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213160#M81958</guid>
      <dc:creator>bkandalkar</dc:creator>
      <dc:date>2018-08-12T11:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Applications wait for long time in Accepted State</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213161#M81959</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/29224/kandalkarbhushan.html" nodeid="29224"&gt;@Bhushan Kandalkar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It seems as if you crossed a vCore limit - not memory.&lt;BR /&gt;In Yarn Queue Manager what calculator are you using ? Default or Dominant ? If Dominant - swithc to Default.&lt;BR /&gt;In Ambari &amp;gt;&amp;gt;&amp;gt; Yarn  &amp;gt;&amp;gt;&amp;gt; Configs &amp;gt;&amp;gt;&amp;gt; Settings - make sure CPU Scheduling &amp;amp; CPU Isolation are off (unless you have switched them on intentionally and you are using cGroups accordingly).&lt;BR /&gt;Also in In Ambari &amp;gt;&amp;gt;&amp;gt; Yarn  &amp;gt;&amp;gt;&amp;gt; Configs &amp;gt;&amp;gt;&amp;gt; Settings make sure you sufficient "number of virtual cores" &amp;amp; "Maximum Container Size" (it should be the number of cores you have in your datanodes minus 4-6 cores for OS).&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Aug 2018 13:15:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213161#M81959</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2018-08-12T13:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Applications wait for long time in Accepted State</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213162#M81960</link>
      <description>&lt;P&gt;Try this config. instead and let's see the logs please (make sure you replace spaces with new lines &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/P&gt;&lt;P&gt;yarn.scheduler.capacity.maximum-am-resource-percent=0.2
&lt;BR /&gt;yarn.scheduler.capacity.maximum-applications=10000
&lt;BR /&gt;yarn.scheduler.capacity.node-locality-delay=40
&lt;BR /&gt;yarn.scheduler.capacity.root.accessible-node-labels=*
&lt;BR /&gt;yarn.scheduler.capacity.root.acl_administer_queue=*
&lt;BR /&gt;yarn.scheduler.capacity.root.capacity=100
&lt;BR /&gt;yarn.scheduler.capacity.root.default.acl_submit_applications=*
&lt;BR /&gt;yarn.scheduler.capacity.root.default.capacity=0
&lt;BR /&gt;yarn.scheduler.capacity.root.default.maximum-capacity=0
&lt;BR /&gt;yarn.scheduler.capacity.root.default.state=RUNNING
&lt;BR /&gt;yarn.scheduler.capacity.root.default.user-limit-factor=2
yarn.scheduler.capacity.root.queues=default,hs2,longrun,sqoop,talend
&lt;BR /&gt;yarn.scheduler.capacity.queue-mappings=u:talenduser:talend,u:dbenefi:longrun,u:sqoop:sqoop
yarn.scheduler.capacity.queue-mappings-override.enable=false
&lt;BR /&gt;yarn.scheduler.capacity.root.default.maximum-am-resource-percent=1
yarn.scheduler.capacity.root.hs2.acl_submit_applications=*
&lt;BR /&gt;yarn.scheduler.capacity.root.hs2.capacity=25
&lt;BR /&gt;yarn.scheduler.capacity.root.hs2.maximum-am-resource-percent=0.4
&lt;BR /&gt;yarn.scheduler.capacity.root.hs2.maximum-applications=500
&lt;BR /&gt;yarn.scheduler.capacity.root.hs2.maximum-capacity=100 &lt;BR /&gt;yarn.scheduler.capacity.root.hs2.ordering-policy=fair
&lt;BR /&gt;yarn.scheduler.capacity.root.hs2.ordering-policy.fair.enable-size-based-weight=true
yarn.scheduler.capacity.root.hs2.state=RUNNING
&lt;BR /&gt;yarn.scheduler.capacity.root.hs2.user-limit-factor=4
&lt;BR /&gt;yarn.scheduler.capacity.root.longrun.acl_submit_applications=*
&lt;BR /&gt;yarn.scheduler.capacity.root.longrun.capacity=15
&lt;BR /&gt;yarn.scheduler.capacity.root.longrun.maximum-capacity=15
&lt;BR /&gt;yarn.scheduler.capacity.root.longrun.state=RUNNING
&lt;BR /&gt;yarn.scheduler.capacity.root.longrun.user-limit-factor=1
&lt;BR /&gt;yarn.scheduler.capacity.root.sqoop.acl_submit_applications=*
&lt;BR /&gt;yarn.scheduler.capacity.root.sqoop.capacity=10
&lt;BR /&gt;yarn.scheduler.capacity.root.sqoop.maximum-am-resource-percent=1
&lt;BR /&gt;yarn.scheduler.capacity.root.sqoop.maximum-capacity=100
&lt;BR /&gt;yarn.scheduler.capacity.root.sqoop.state=RUNNING
&lt;BR /&gt;yarn.scheduler.capacity.root.sqoop.user-limit-factor=10
&lt;BR /&gt;yarn.scheduler.capacity.root.talend.acl_submit_applications=*
&lt;BR /&gt;yarn.scheduler.capacity.root.talend.capacity=25
&lt;BR /&gt;yarn.scheduler.capacity.root.talend.maximum-applications=500
&lt;BR /&gt;yarn.scheduler.capacity.root.talend.maximum-capacity=100
&lt;BR /&gt;yarn.scheduler.capacity.root.talend.ordering-policy=fair
&lt;BR /&gt;yarn.scheduler.capacity.root.talend.ordering-policy.fair.enable-size-based-weight=true
yarn.scheduler.capacity.root.talend.state=RUNNING
&lt;BR /&gt;yarn.scheduler.capacity.root.talend.user-limit-factor=4&lt;/P&gt;</description>
      <pubDate>Sun, 12 Aug 2018 21:45:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213162#M81960</guid>
      <dc:creator>hamdan</dc:creator>
      <dc:date>2018-08-12T21:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Applications wait for long time in Accepted State</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213163#M81961</link>
      <description>&lt;P&gt;Resource Manager Restart cleans cache of RM and resolves issue.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 19:12:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Applications-wait-for-long-time-in-Accepted-State/m-p/213163#M81961</guid>
      <dc:creator>bkandalkar</dc:creator>
      <dc:date>2018-08-16T19:12:11Z</dc:date>
    </item>
  </channel>
</rss>

