<?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: Pyspark stuck at Stage 0 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pyspark-stuck-at-Stage-0/m-p/35127#M11700</link>
    <description>What is your NodeManager configuration's yarn.nodemanager.resource.memory-mb value set to?&lt;BR /&gt;&lt;BR /&gt;Its possible that YARN is unable to allocate a container for the executors, due to too low value of that configuration, in which case things could hang this way. You could raise that config by another 1 GB and restart the cluster/re-run the shell to see if it resolves the issue.&lt;BR /&gt;&lt;BR /&gt;You can also check the Spark AM's log (visit your RM Web UI and click through the RUNNING Spark application, and click on the "logs" link for its Application Master). It may show what it is stuck on, if its yet to spawn up an executor, or if its something else.</description>
    <pubDate>Sat, 12 Dec 2015 18:45:12 GMT</pubDate>
    <dc:creator>Harsh J</dc:creator>
    <dc:date>2015-12-12T18:45:12Z</dc:date>
    <item>
      <title>Pyspark stuck at Stage 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pyspark-stuck-at-Stage-0/m-p/34994#M11699</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I installed Cloudera 5.5 and Spark YARN. I uploaded a small file as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2015-12-09 at 10.27.23 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1333i8CF1A26A47B1115A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2015-12-09 at 10.27.23 AM.png" alt="Screen Shot 2015-12-09 at 10.27.23 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I ran pyspark as hdfs user and did a simple exercise but it got stuck at Stage 0 as screenshot:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2015-12-09 at 10.30.39 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1334iD959C2B1CEA51AD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2015-12-09 at 10.30.39 AM.png" alt="Screen Shot 2015-12-09 at 10.30.39 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It never returned anything. Can someone point me out a way to troubleshoot and fix this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:52:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pyspark-stuck-at-Stage-0/m-p/34994#M11699</guid>
      <dc:creator>hawkphil</dc:creator>
      <dc:date>2022-09-16T09:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark stuck at Stage 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pyspark-stuck-at-Stage-0/m-p/35127#M11700</link>
      <description>What is your NodeManager configuration's yarn.nodemanager.resource.memory-mb value set to?&lt;BR /&gt;&lt;BR /&gt;Its possible that YARN is unable to allocate a container for the executors, due to too low value of that configuration, in which case things could hang this way. You could raise that config by another 1 GB and restart the cluster/re-run the shell to see if it resolves the issue.&lt;BR /&gt;&lt;BR /&gt;You can also check the Spark AM's log (visit your RM Web UI and click through the RUNNING Spark application, and click on the "logs" link for its Application Master). It may show what it is stuck on, if its yet to spawn up an executor, or if its something else.</description>
      <pubDate>Sat, 12 Dec 2015 18:45:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pyspark-stuck-at-Stage-0/m-p/35127#M11700</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-12-12T18:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pyspark stuck at Stage 0</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pyspark-stuck-at-Stage-0/m-p/35211#M11701</link>
      <description>&lt;P&gt;I found out my YARN deployment got messed up because I didn't add more NodeManager in after I added new hosts manually. Ops!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 17:20:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pyspark-stuck-at-Stage-0/m-p/35211#M11701</guid>
      <dc:creator>hawkphil</dc:creator>
      <dc:date>2015-12-14T17:20:31Z</dc:date>
    </item>
  </channel>
</rss>

