<?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 WARN cluster.YarnScheduler: Initial job has not accepted any resources in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/WARN-cluster-YarnScheduler-Initial-job-has-not-accepted-any/m-p/358263#M237793</link>
    <description>&lt;P&gt;I'm using Cloudera manager 7.4.4 and running the spark(2.4.4) application. I'm facing below warning and application is going on to infinite loop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARN cluster.YarnScheduler: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SantoshB_0-1669243075939.png" style="width: 596px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36308i8DBC9315A11AB3F0/image-dimensions/596x283?v=v2" width="596" height="283" role="button" title="SantoshB_0-1669243075939.png" alt="SantoshB_0-1669243075939.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using a simple spark-submit command. spark-submit &amp;lt;filename.py&amp;gt;&lt;BR /&gt;my python version is 2.7&lt;/P&gt;
&lt;P&gt;When I'm running the below command I got many other errors&lt;/P&gt;
&lt;P&gt;spark-submit --master yarn --deploy-mode cluster --driver-memory 5g --executor-memory 5g --num-executors 3 --executor-cores 2 &amp;lt;filename.py&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below are the errors&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SantoshB_1-1669243319409.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36309i6C0390E410435AC0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SantoshB_1-1669243319409.png" alt="SantoshB_1-1669243319409.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 07:47:23 GMT</pubDate>
    <dc:creator>SantoshB</dc:creator>
    <dc:date>2026-04-21T07:47:23Z</dc:date>
    <item>
      <title>WARN cluster.YarnScheduler: Initial job has not accepted any resources</title>
      <link>https://community.cloudera.com/t5/Support-Questions/WARN-cluster-YarnScheduler-Initial-job-has-not-accepted-any/m-p/358263#M237793</link>
      <description>&lt;P&gt;I'm using Cloudera manager 7.4.4 and running the spark(2.4.4) application. I'm facing below warning and application is going on to infinite loop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARN cluster.YarnScheduler: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SantoshB_0-1669243075939.png" style="width: 596px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36308i8DBC9315A11AB3F0/image-dimensions/596x283?v=v2" width="596" height="283" role="button" title="SantoshB_0-1669243075939.png" alt="SantoshB_0-1669243075939.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using a simple spark-submit command. spark-submit &amp;lt;filename.py&amp;gt;&lt;BR /&gt;my python version is 2.7&lt;/P&gt;
&lt;P&gt;When I'm running the below command I got many other errors&lt;/P&gt;
&lt;P&gt;spark-submit --master yarn --deploy-mode cluster --driver-memory 5g --executor-memory 5g --num-executors 3 --executor-cores 2 &amp;lt;filename.py&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below are the errors&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SantoshB_1-1669243319409.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36309i6C0390E410435AC0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SantoshB_1-1669243319409.png" alt="SantoshB_1-1669243319409.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 07:47:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/WARN-cluster-YarnScheduler-Initial-job-has-not-accepted-any/m-p/358263#M237793</guid>
      <dc:creator>SantoshB</dc:creator>
      <dc:date>2026-04-21T07:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: WARN cluster.YarnScheduler: Initial job has not accepted any resources</title>
      <link>https://community.cloudera.com/t5/Support-Questions/WARN-cluster-YarnScheduler-Initial-job-has-not-accepted-any/m-p/360226#M238340</link>
      <description>&lt;P&gt;you should check the container logs for the one mentioned in the snapshots above for more details. Generally caused due to resource crunch. You can consider increasing the below yarn configs as well.&lt;/P&gt;&lt;P&gt;yarn.nodemanager.resource.memory-mb&lt;BR /&gt;yarn.nodemanager.resource.cpu-vcores&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;BR /&gt;Paras&lt;BR /&gt;&lt;STRONG&gt;Was your question answered? Make sure to mark the answer as the accepted solution.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 12:03:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/WARN-cluster-YarnScheduler-Initial-job-has-not-accepted-any/m-p/360226#M238340</guid>
      <dc:creator>paras</dc:creator>
      <dc:date>2022-12-29T12:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: WARN cluster.YarnScheduler: Initial job has not accepted any resources</title>
      <link>https://community.cloudera.com/t5/Support-Questions/WARN-cluster-YarnScheduler-Initial-job-has-not-accepted-any/m-p/360322#M238368</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102037"&gt;@SantoshB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see such messages when you have reached user factor limit/resource limit on queue level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can check tune user-limit factor or check queue utilization to schedule applications accordingly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also seems application has failed with exit-code 13, can you please share YARN trace to identify reason for failure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2023 14:02:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/WARN-cluster-YarnScheduler-Initial-job-has-not-accepted-any/m-p/360322#M238368</guid>
      <dc:creator>AsimShaikh</dc:creator>
      <dc:date>2023-01-02T14:02:28Z</dc:date>
    </item>
  </channel>
</rss>

