<?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: sqlContext not started after spark-shell command issued at console of CDH5.5 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqlContext-not-started-after-spark-shell-command-issued-at/m-p/43578#M36926</link>
    <description>&lt;P&gt;got solved by below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sudo -u hdfs hdfs dfsadmin -safemode leave&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Aug 2016 02:42:13 GMT</pubDate>
    <dc:creator>Tdas</dc:creator>
    <dc:date>2016-08-05T02:42:13Z</dc:date>
    <item>
      <title>sqlContext not started after spark-shell command issued at console of CDH5.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqlContext-not-started-after-spark-shell-command-issued-at/m-p/43572#M36925</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My CDH 5.5 was running all fine but now when i typed spark-shell command ,i see below issue of sqlcontext,can anyone suggest what should i do to remove this issue,spark-shell was running perfectly till this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note i restarted Cloudera manager from admin console&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;16/08/04 13:38:51 ERROR Utils: Uncaught exception in thread main&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at org.apache.spark.network.netty.NettyBlockTransferService.close(NettyBlockTransferService.scala:152)&lt;BR /&gt;16/08/04 13:38:51 INFO SparkContext: Successfully stopped SparkContext&lt;BR /&gt;org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.SafeModeException): Cannot create directory /user/cloudera/.sparkStaging/application_1470339377450_0002. Name node is in safe mode.&lt;BR /&gt;The reported blocks 919 needs additional 2 blocks to reach the threshold 0.9990 of total blocks 921.&lt;BR /&gt;The number of live datanodes 1 has reached the minimum number 0. Safe mode will be turned off automatically once the thresholds have been reached.&lt;BR /&gt;at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkNameNodeSafeMode(FSNamesystem.java:1416)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInt(FSNames&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;console&amp;gt;:10: error: not found: value sqlContext&lt;BR /&gt;import sqlContext.implicits._&lt;BR /&gt;^&lt;BR /&gt;&amp;lt;console&amp;gt;:10: error: not found: value sqlContext&lt;BR /&gt;import sqlContext.sql&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:32:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqlContext-not-started-after-spark-shell-command-issued-at/m-p/43572#M36925</guid>
      <dc:creator>Tdas</dc:creator>
      <dc:date>2022-09-16T10:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: sqlContext not started after spark-shell command issued at console of CDH5.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqlContext-not-started-after-spark-shell-command-issued-at/m-p/43578#M36926</link>
      <description>&lt;P&gt;got solved by below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sudo -u hdfs hdfs dfsadmin -safemode leave&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 02:42:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqlContext-not-started-after-spark-shell-command-issued-at/m-p/43578#M36926</guid>
      <dc:creator>Tdas</dc:creator>
      <dc:date>2016-08-05T02:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: sqlContext not started after spark-shell command issued at console of CDH5.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqlContext-not-started-after-spark-shell-command-issued-at/m-p/44026#M36927</link>
      <description>&lt;P&gt;i am using cloudera vm 5.7 when i type spark-shell i am getting following error.&lt;/P&gt;&lt;P&gt;&amp;lt;console&amp;gt;:16: error: not found: value sqlContext&lt;BR /&gt;import sqlContext.implicits._&lt;BR /&gt;^&lt;BR /&gt;&amp;lt;console&amp;gt;:16: error: not found: value sqlContext&lt;BR /&gt;import sqlContext.sql&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 14:58:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqlContext-not-started-after-spark-shell-command-issued-at/m-p/44026#M36927</guid>
      <dc:creator>Manoranjan</dc:creator>
      <dc:date>2016-08-16T14:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: sqlContext not started after spark-shell command issued at console of CDH5.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqlContext-not-started-after-spark-shell-command-issued-at/m-p/44027#M36928</link>
      <description>&lt;P&gt;5.5 or 5.7? the title and text disagree. 5.5 would have Spark 1.4, and I am not sure whether SQLContext was exposed as sqlContext by the shell by default like that. It should be in Spark 1.6 (= CDH 5.6+)&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 15:09:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqlContext-not-started-after-spark-shell-command-issued-at/m-p/44027#M36928</guid>
      <dc:creator>srowen</dc:creator>
      <dc:date>2016-08-16T15:09:25Z</dc:date>
    </item>
  </channel>
</rss>

