<?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 Using Spark2 on HDP 2.5 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Spark2-on-HDP-2-5/m-p/144491#M56510</link>
    <description>&lt;P&gt;Hello, I followed the below tutorial to install Jupyter and all is fine:&lt;/P&gt;&lt;P&gt;&lt;A href="https://hortonworks.com/hadoop-tutorial/using-ipython-notebook-with-apache-spark/" target="_blank"&gt;https://hortonworks.com/hadoop-tutorial/using-ipython-notebook-with-apache-spark/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now I want to use Spark 2 instead. I changed the spark_home to the /usr/hdp/current/spark2-client folder and trying to run the start_ipython_notebook.sh command. It says&lt;/P&gt;&lt;P&gt;IPYTHON and IPYTHON_OPTS are removed in Spark 2.0+. Remove these from the environment and set PYSPARK_DRIVER_PYTHON and PYSPARK_DRIVER_PYTHON_OPTS instead.&lt;/P&gt;&lt;P&gt;Can someone suggest what change should I make to the ipython startup script?&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2017 05:20:29 GMT</pubDate>
    <dc:creator>aravind_kanda</dc:creator>
    <dc:date>2017-03-08T05:20:29Z</dc:date>
    <item>
      <title>Using Spark2 on HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Spark2-on-HDP-2-5/m-p/144491#M56510</link>
      <description>&lt;P&gt;Hello, I followed the below tutorial to install Jupyter and all is fine:&lt;/P&gt;&lt;P&gt;&lt;A href="https://hortonworks.com/hadoop-tutorial/using-ipython-notebook-with-apache-spark/" target="_blank"&gt;https://hortonworks.com/hadoop-tutorial/using-ipython-notebook-with-apache-spark/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now I want to use Spark 2 instead. I changed the spark_home to the /usr/hdp/current/spark2-client folder and trying to run the start_ipython_notebook.sh command. It says&lt;/P&gt;&lt;P&gt;IPYTHON and IPYTHON_OPTS are removed in Spark 2.0+. Remove these from the environment and set PYSPARK_DRIVER_PYTHON and PYSPARK_DRIVER_PYTHON_OPTS instead.&lt;/P&gt;&lt;P&gt;Can someone suggest what change should I make to the ipython startup script?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 05:20:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Spark2-on-HDP-2-5/m-p/144491#M56510</guid>
      <dc:creator>aravind_kanda</dc:creator>
      <dc:date>2017-03-08T05:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using Spark2 on HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Spark2-on-HDP-2-5/m-p/144492#M56511</link>
      <description>&lt;P&gt;From &lt;A href="https://github.com/apache/spark/blob/master/bin/pyspark" target="_blank"&gt;https://github.com/apache/spark/blob/master/bin/pyspark&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;# In Spark 2.0, IPYTHON and IPYTHON_OPTS are removed and pyspark fails to launch if either option is set in the user's environment. Instead, users should set PYSPARK_DRIVER_PYTHON=ipython to use IPython and set PYSPARK_DRIVER_PYTHON_OPTS to pass options when starting the Python driver# (e.g. PYSPARK_DRIVER_PYTHON_OPTS='notebook').  This supports full customization of the IPython# and executor Python executables.&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Mar 2017 16:35:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Spark2-on-HDP-2-5/m-p/144492#M56511</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-03-08T16:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using Spark2 on HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Spark2-on-HDP-2-5/m-p/144493#M56512</link>
      <description>&lt;P&gt;Just what i was looking for. thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 02:23:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Spark2-on-HDP-2-5/m-p/144493#M56512</guid>
      <dc:creator>aravind_kanda</dc:creator>
      <dc:date>2017-03-09T02:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using Spark2 on HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Spark2-on-HDP-2-5/m-p/144494#M56513</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3846/aravindkanda.html" nodeid="3846" target="_blank"&gt;@Arvind Kandaswamy&lt;/A&gt;, can you please share the code that you used to solve the problem? It is not working for me.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="45807-capture.png" style="width: 589px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21553iC9EF4E6EC5D1F074/image-size/medium?v=v2&amp;amp;px=400" role="button" title="45807-capture.png" alt="45807-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 07:54:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Spark2-on-HDP-2-5/m-p/144494#M56513</guid>
      <dc:creator>fishjhu</dc:creator>
      <dc:date>2019-08-19T07:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using Spark2 on HDP 2.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Spark2-on-HDP-2-5/m-p/144495#M56514</link>
      <description>&lt;P&gt;Please someone please answer &lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 14:48:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Spark2-on-HDP-2-5/m-p/144495#M56514</guid>
      <dc:creator>amod400</dc:creator>
      <dc:date>2018-04-25T14:48:15Z</dc:date>
    </item>
  </channel>
</rss>

