<?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: SparkContext giving error in initialization : org.apache.hadoop.ipc.StandbyException in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/SparkContext-giving-error-in-initialization-org-apache/m-p/269941#M207178</link>
    <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69080"&gt;@yukti&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Are you able to share full spark log so that we can see a bit more context? Hitting SBNN is common, but it should be back to Active NN after that, and it should not be causing failure. I suspect there is something else, so full log might help to understand a bit more.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Eric</description>
    <pubDate>Fri, 06 Sep 2019 22:38:19 GMT</pubDate>
    <dc:creator>EricL</dc:creator>
    <dc:date>2019-09-06T22:38:19Z</dc:date>
    <item>
      <title>SparkContext giving error in initialization : org.apache.hadoop.ipc.StandbyException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SparkContext-giving-error-in-initialization-org-apache/m-p/269901#M207158</link>
      <description>&lt;P&gt;while running a normal spark job SparkContext is not getting initialized giving below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;[Thread-6] ERROR org.apache.spark.SparkContext - Error initializing SparkContext.&lt;BR /&gt;org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.StandbyException): Operation category READ is not supported in state standby.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe it is pointing to standby NN.&lt;/P&gt;&lt;P&gt;This error is coming after we enabled Namenode HA in our cloudera's cluster.&lt;/P&gt;&lt;P&gt;I have checked hive-site.xml, core-site.xml and spark-defaults.xml.&lt;/P&gt;&lt;P&gt;These all are havinf correct configs pointing to nameservice id.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 10:11:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SparkContext-giving-error-in-initialization-org-apache/m-p/269901#M207158</guid>
      <dc:creator>yukti</dc:creator>
      <dc:date>2019-09-06T10:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: SparkContext giving error in initialization : org.apache.hadoop.ipc.StandbyException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SparkContext-giving-error-in-initialization-org-apache/m-p/269941#M207178</link>
      <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69080"&gt;@yukti&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Are you able to share full spark log so that we can see a bit more context? Hitting SBNN is common, but it should be back to Active NN after that, and it should not be causing failure. I suspect there is something else, so full log might help to understand a bit more.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Eric</description>
      <pubDate>Fri, 06 Sep 2019 22:38:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SparkContext-giving-error-in-initialization-org-apache/m-p/269941#M207178</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-09-06T22:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: SparkContext giving error in initialization : org.apache.hadoop.ipc.StandbyException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SparkContext-giving-error-in-initialization-org-apache/m-p/270004#M207219</link>
      <description>&lt;P&gt;Hi Eric&lt;BR /&gt;please see the attached error logs.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/10115"&gt;@EricL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 09:03:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SparkContext-giving-error-in-initialization-org-apache/m-p/270004#M207219</guid>
      <dc:creator>yukti</dc:creator>
      <dc:date>2019-09-09T09:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: SparkContext giving error in initialization : org.apache.hadoop.ipc.StandbyException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SparkContext-giving-error-in-initialization-org-apache/m-p/270179#M207343</link>
      <description>Hmm, looks like Spark is not able to reach to NN, are both of your NN up and running? Can you run normal HDFS commands and operations?&lt;BR /&gt;&lt;BR /&gt;Can you also share the spark-defaults.conf file which is under /etc/spark/conf or /etc/spark2/conf directory for review?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 11 Sep 2019 06:54:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SparkContext-giving-error-in-initialization-org-apache/m-p/270179#M207343</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-09-11T06:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: SparkContext giving error in initialization : org.apache.hadoop.ipc.StandbyException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SparkContext-giving-error-in-initialization-org-apache/m-p/270194#M207352</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/10115"&gt;@EricL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Eric&lt;BR /&gt;it was pointing to wrong spark conf so I replaced it with the new one.&lt;/P&gt;&lt;P&gt;But now its giving me another error.&lt;BR /&gt;I will open anew thread for another error.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 09:08:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SparkContext-giving-error-in-initialization-org-apache/m-p/270194#M207352</guid>
      <dc:creator>yukti</dc:creator>
      <dc:date>2019-09-11T09:08:46Z</dc:date>
    </item>
  </channel>
</rss>

