<?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: Usage of Python 2.7 version in Pyspark in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Usage-of-Python-2-7-version-in-Pyspark/m-p/103870#M50406</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/7520/nyadav.html" nodeid="7520"&gt;@nyadav&lt;/A&gt;&lt;P&gt;You need to add below options to your spark-env.sh.You should be able to run the pyspark jobs on 2.7. Let me know if you face any issue.&lt;/P&gt;&lt;PRE&gt;export PYSPARK_PYTHON=/usr/local/bin/python2.7 
export PYSPARK_DRIVER_PYTHON=/usr/local/bin/python2.7 
export SPARK_YARN_USER_ENV="PYSPARK_PYTHON=/usr/local/bin/python2.7"&lt;/PRE&gt;</description>
    <pubDate>Thu, 29 Dec 2016 19:46:58 GMT</pubDate>
    <dc:creator>sandyy006</dc:creator>
    <dc:date>2016-12-29T19:46:58Z</dc:date>
    <item>
      <title>Usage of Python 2.7 version in Pyspark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Usage-of-Python-2-7-version-in-Pyspark/m-p/103869#M50405</link>
      <description>&lt;P&gt;As HDP comes with Python 2.6, but for spark jobs would like to use python 2.7 version.&lt;/P&gt;&lt;P&gt;What all changes do we need to set to make only spark pick the installed 2.7 version. Thx&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 19:43:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Usage-of-Python-2-7-version-in-Pyspark/m-p/103869#M50405</guid>
      <dc:creator>nyadav</dc:creator>
      <dc:date>2016-12-29T19:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of Python 2.7 version in Pyspark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Usage-of-Python-2-7-version-in-Pyspark/m-p/103870#M50406</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/7520/nyadav.html" nodeid="7520"&gt;@nyadav&lt;/A&gt;&lt;P&gt;You need to add below options to your spark-env.sh.You should be able to run the pyspark jobs on 2.7. Let me know if you face any issue.&lt;/P&gt;&lt;PRE&gt;export PYSPARK_PYTHON=/usr/local/bin/python2.7 
export PYSPARK_DRIVER_PYTHON=/usr/local/bin/python2.7 
export SPARK_YARN_USER_ENV="PYSPARK_PYTHON=/usr/local/bin/python2.7"&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Dec 2016 19:46:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Usage-of-Python-2-7-version-in-Pyspark/m-p/103870#M50406</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2016-12-29T19:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of Python 2.7 version in Pyspark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Usage-of-Python-2-7-version-in-Pyspark/m-p/103871#M50407</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159"&gt;@Sandeep Nemuri&lt;/A&gt;, thanks for your reply. Does it has to be done on all the nodes, or from where I'm launching the spark jobs?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 20:06:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Usage-of-Python-2-7-version-in-Pyspark/m-p/103871#M50407</guid>
      <dc:creator>nyadav</dc:creator>
      <dc:date>2016-12-29T20:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of Python 2.7 version in Pyspark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Usage-of-Python-2-7-version-in-Pyspark/m-p/103872#M50408</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/7520/nyadav.html" nodeid="7520"&gt;@nyadav&lt;/A&gt;&lt;P&gt;If you run jobs in yarn-cluster mode then the above 3 should be set in all the nodes, you can add these through ambari so that it will push the changes to all the nodes.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 20:13:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Usage-of-Python-2-7-version-in-Pyspark/m-p/103872#M50408</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2016-12-29T20:13:35Z</dc:date>
    </item>
  </channel>
</rss>

