<?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: Spark application stuck at ACCEPTED state at spark-submit in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Spark-application-stuck-at-ACCEPTED-state-at-spark-submit/m-p/378104#M243421</link>
    <description>&lt;P&gt;I think you don't have sufficient resources to run the job for queue&amp;nbsp;&lt;STRONG&gt;root.hdfs. &lt;/STRONG&gt;Verify is there any pending running jobs/application in the&amp;nbsp;&lt;SPAN&gt;root.hdfs queue from Resource Manager UI. If it is running kill those if it is not required. And also verify from spark side you have given less resource to test it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2023 04:36:24 GMT</pubDate>
    <dc:creator>RangaReddy</dc:creator>
    <dc:date>2023-10-25T04:36:24Z</dc:date>
    <item>
      <title>Spark application stuck at ACCEPTED state at spark-submit</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-application-stuck-at-ACCEPTED-state-at-spark-submit/m-p/328651#M230290</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have configured &amp;amp; set Hadoop Cluster over 2 nodes and launch it along with Yarn like so :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;On the master node :&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;hdfs namenode -regular&lt;/LI&gt;&lt;LI&gt;yarn resourcemanager&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;On the slave node :&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;hdfs datanode -regular&lt;/LI&gt;&lt;LI&gt;yarn nodemanager&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And it shows through UI that there has been a connection established between the two machines that form the cluster.&lt;/P&gt;&lt;P&gt;To note that &lt;STRONG&gt;&lt;EM&gt;start-dfs&lt;/EM&gt;&lt;/STRONG&gt; on the master node started both namenode and datanode even after setting &lt;STRONG&gt;&lt;EM&gt;slaves&lt;/EM&gt;&lt;/STRONG&gt; and &lt;STRONG&gt;&lt;EM&gt;hosts&lt;/EM&gt;&lt;/STRONG&gt; files.&lt;/P&gt;&lt;P&gt;Now i submit an application (simple &lt;EM&gt;hello world&lt;/EM&gt;) to &lt;EM&gt;Yarn&lt;/EM&gt; : through this command :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Spark-submit --class "main" --master yarn pathToJar&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i get the error&amp;nbsp;&lt;/P&gt;&lt;P&gt;15/08/29 12:07:58 INFO Client: ApplicationManager is waiting for the ResourceManager&amp;nbsp;&lt;/P&gt;&lt;P&gt;client token: N/A diagnostics: N/A&lt;/P&gt;&lt;P&gt;ApplicationMaster host: N/A&lt;/P&gt;&lt;P&gt;ApplicationMaster RPC port: -1&lt;/P&gt;&lt;P&gt;queue: root.hdfs&lt;/P&gt;&lt;P&gt;start time: 1440864477580&lt;/P&gt;&lt;P&gt;final status: UNDEFINED &amp;nbsp;user: hdfs 15/08/29 12:07:59 INFO Client: Application report for application_1440861466017_0007 (state: ACCEPTED) 15/08/29 12:08:00 INFO Client: Application report for application_1440861466017_0007 (state: ACCEPTED) 15/08/29 12:08:01 INFO Client: Application report for application_1440861466017_0007 (state: ACCEPTED)...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am i missing in my configuration ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 19:33:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-application-stuck-at-ACCEPTED-state-at-spark-submit/m-p/328651#M230290</guid>
      <dc:creator>hadoopFreak01</dc:creator>
      <dc:date>2021-10-22T19:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Spark application stuck at ACCEPTED state at spark-submit</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-application-stuck-at-ACCEPTED-state-at-spark-submit/m-p/377625#M243307</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Verify the submission queue for application_1440861466017_0007 and ensure it has sufficient resources to launch the application.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 11:35:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-application-stuck-at-ACCEPTED-state-at-spark-submit/m-p/377625#M243307</guid>
      <dc:creator>ggangadharan</dc:creator>
      <dc:date>2023-10-13T11:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Spark application stuck at ACCEPTED state at spark-submit</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-application-stuck-at-ACCEPTED-state-at-spark-submit/m-p/377927#M243378</link>
      <description>&lt;P&gt;Can you share the screenshot from the Yarn Web UI and the resources you are passing with the spark submit command?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 23:34:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-application-stuck-at-ACCEPTED-state-at-spark-submit/m-p/377927#M243378</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2023-10-19T23:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Spark application stuck at ACCEPTED state at spark-submit</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Spark-application-stuck-at-ACCEPTED-state-at-spark-submit/m-p/378104#M243421</link>
      <description>&lt;P&gt;I think you don't have sufficient resources to run the job for queue&amp;nbsp;&lt;STRONG&gt;root.hdfs. &lt;/STRONG&gt;Verify is there any pending running jobs/application in the&amp;nbsp;&lt;SPAN&gt;root.hdfs queue from Resource Manager UI. If it is running kill those if it is not required. And also verify from spark side you have given less resource to test it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 04:36:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Spark-application-stuck-at-ACCEPTED-state-at-spark-submit/m-p/378104#M243421</guid>
      <dc:creator>RangaReddy</dc:creator>
      <dc:date>2023-10-25T04:36:24Z</dc:date>
    </item>
  </channel>
</rss>

