<?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-shell stuck in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-shell-stuck/m-p/57718#M65158</link>
    <description>&lt;P&gt;Thank you so much for the Response.&lt;/P&gt;&lt;P&gt;All this time I was not using Cloudera Express and I am just getting used to it.&lt;/P&gt;&lt;P&gt;Now the Spark-shell started with no problem.&lt;/P&gt;&lt;P&gt;I would highly Appreciate your Help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jul 2017 14:06:34 GMT</pubDate>
    <dc:creator>Pavanpark</dc:creator>
    <dc:date>2017-07-20T14:06:34Z</dc:date>
    <item>
      <title>spark-shell stuck</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-shell-stuck/m-p/57603#M65154</link>
      <description>&lt;P&gt;I am trying to run spark-shell from Terminal and it got Stuck. Can somebody help me?&lt;/P&gt;&lt;P&gt;This is what I get. I just started using Spark and I am totally new to it&lt;/P&gt;&lt;PRE&gt;[root@quickstart cloudera]# spark-shell
WARNING: User-defined SPARK_HOME (/opt/cloudera/parcels/CDH-5.8.0-1.cdh5.8.0.p0.42/lib/spark) overrides detected (/usr/lib/spark).
WARNING: Running spark-class from user-defined location.
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel).
Welcome to
      ____              __
     / __/__  ___ _____/ /__
    _\ \/ _ \/ _ `/ __/  '_/
   /___/ .__/\_,_/_/ /_/\_\   version 1.6.0
      /_/

Using Scala version 2.10.5 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_67)
Type in expressions to have them evaluated.
Type :help for more information&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:57:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-shell-stuck/m-p/57603#M65154</guid>
      <dc:creator>Pavanpark</dc:creator>
      <dc:date>2022-09-16T11:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: spark-shell stuck</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-shell-stuck/m-p/57618#M65155</link>
      <description>&lt;P&gt;The point where it is stuck likely indicates that the shell can't reach to the RM (Resource Manager) on port 8032 for requesting a new application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ spark-shell&lt;BR /&gt;Welcome to&lt;BR /&gt;____ __&lt;BR /&gt;/ __/__ ___ _____/ /__&lt;BR /&gt;_\ \/ _ \/ _ `/ __/ '_/&lt;BR /&gt;/___/ .__/\_,_/_/ /_/\_\ version 1.6.0&lt;BR /&gt;/_/&lt;/P&gt;&lt;P&gt;Using Scala version 2.10.5 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_67)&lt;BR /&gt;Type :help for more information.&lt;BR /&gt;17/07/18 19:48:57 INFO spark.SparkContext: Running Spark version 1.6.0&lt;BR /&gt;...&lt;BR /&gt;17/07/18 19:48:59 INFO util.Utils: Successfully started service 'SparkUI' on port 4040.&lt;BR /&gt;17/07/18 19:48:59 INFO ui.SparkUI: Started SparkUI at &lt;A href="http://10.xx.xx.xx:4040" target="_blank"&gt;http://10.xx.xx.xx:4040&lt;/A&gt;&lt;BR /&gt;17/07/18 19:48:59 INFO client.RMProxy: Connecting to ResourceManager at host-10-xx-xx-xx.xx.cloudera.com/10.xx.xx.xx:8032&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you confirm from CM (Cloudera Manager UI) that your YARN service (RM and NM) are healthy and working? If they are good, I'd suggest to temporarily change the shell's logging level from WARN to INFO (and if that doesn't help use DEBUG) to see what the shell is up to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The easy way to do this would be to edit /etc/spark/conf/log4j.properties and add (or edit if the below properties already exist)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# vi&amp;nbsp;&lt;SPAN&gt;/etc/spark/conf/log4j.properties&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;shell.log.level=INFO&lt;BR /&gt;log4j.rootCategory=INFO, console&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ spark-shell&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 04:01:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-shell-stuck/m-p/57618#M65155</guid>
      <dc:creator>AutoIN</dc:creator>
      <dc:date>2017-07-19T04:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: spark-shell stuck</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-shell-stuck/m-p/57678#M65156</link>
      <description>&lt;P&gt;Here is the Screenshot of Yarn:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot-quickstart.cloudera 7180-2017-07-19-14-31-51.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3212i13BD45787FA5CBA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot-quickstart.cloudera 7180-2017-07-19-14-31-51.png" alt="screenshot-quickstart.cloudera 7180-2017-07-19-14-31-51.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And i made the changes in log4j.properties file, but it's still same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 21:39:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-shell-stuck/m-p/57678#M65156</guid>
      <dc:creator>Pavanpark</dc:creator>
      <dc:date>2017-07-19T21:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: spark-shell stuck</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-shell-stuck/m-p/57709#M65157</link>
      <description>&lt;P&gt;Thank you! The screen-shot shows that your Yarn service (which includes Resource Manager, Node Manager) is not UP/Started. Please start them. On the extreme right hand side you will see Actions (Drop Down) &amp;gt; Start . Once the services are started you'd see a green icon next to YARN (MR2 Included) and the Status Summary would show all services as 'Started' (which right now shows stopped).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let us know how it goes. If the services are not starting or having trouble starting up, please share the error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good Luck!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 13:36:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-shell-stuck/m-p/57709#M65157</guid>
      <dc:creator>AutoIN</dc:creator>
      <dc:date>2017-07-20T13:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: spark-shell stuck</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-shell-stuck/m-p/57718#M65158</link>
      <description>&lt;P&gt;Thank you so much for the Response.&lt;/P&gt;&lt;P&gt;All this time I was not using Cloudera Express and I am just getting used to it.&lt;/P&gt;&lt;P&gt;Now the Spark-shell started with no problem.&lt;/P&gt;&lt;P&gt;I would highly Appreciate your Help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 14:06:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/spark-shell-stuck/m-p/57718#M65158</guid>
      <dc:creator>Pavanpark</dc:creator>
      <dc:date>2017-07-20T14:06:34Z</dc:date>
    </item>
  </channel>
</rss>

