<?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: Multiple versions of python on spark client in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Multiple-versions-of-python-on-spark-client/m-p/207285#M169246</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14401/geraldbidault.html" nodeid="14401"&gt;@Gerald BIDAULT&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Is it feasible to install python2.7 on your centos6 cluster ?&lt;/P&gt;&lt;P&gt;If you can install python2.7, then modify spark-env.sh to use python2.7 by changing below properties :&lt;/P&gt;&lt;PRE&gt;export PYSPARK_PYTHON=&amp;lt;path to python 2.7&amp;gt;
export PYSPARK_DRIVER_PYTHON=python2.7
&lt;/PRE&gt;&lt;P&gt;Steps for changing spark-env.sh :&lt;/P&gt;&lt;P&gt;1) Login to ambari&lt;/P&gt;&lt;P&gt;2) Navigate to spark service&lt;/P&gt;&lt;P&gt;3) Under 'Advanced spark2-env' modify 'content' to add properties as described above.&lt;/P&gt;&lt;P&gt;Attaching screenshot.&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/59414-spark-changes.png"&gt;spark-changes.png&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2018 17:44:34 GMT</pubDate>
    <dc:creator>ssharma</dc:creator>
    <dc:date>2018-01-31T17:44:34Z</dc:date>
  </channel>
</rss>

