<?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 multiple versions of python issues in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-versions-of-python-issues/m-p/188207#M83397</link>
    <description>&lt;P&gt;I have two versions on python installed (2.6 and 2.7) Spark jobs run thru shell in pyspark are picking up one version of Python (2.7).  Jobs submitted to the cluster via yarn are picking up the 2.6 version of python.  How can I get yarn jobs to point to the 2.7 version?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 13:41:49 GMT</pubDate>
    <dc:creator>wazzu62</dc:creator>
    <dc:date>2022-09-16T13:41:49Z</dc:date>
    <item>
      <title>multiple versions of python issues</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-versions-of-python-issues/m-p/188207#M83397</link>
      <description>&lt;P&gt;I have two versions on python installed (2.6 and 2.7) Spark jobs run thru shell in pyspark are picking up one version of Python (2.7).  Jobs submitted to the cluster via yarn are picking up the 2.6 version of python.  How can I get yarn jobs to point to the 2.7 version?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:41:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-versions-of-python-issues/m-p/188207#M83397</guid>
      <dc:creator>wazzu62</dc:creator>
      <dc:date>2022-09-16T13:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: multiple versions of python issues</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-versions-of-python-issues/m-p/188208#M83398</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11320/jonpage.html" nodeid="11320"&gt;@Jon Page&lt;/A&gt; Try these before running spark-submit command:&lt;/P&gt;&lt;P&gt;export PYSPARK_DRIVER_PYTHON=/opt/anaconda2/bin/python &lt;/P&gt;&lt;P&gt;
export PYSPARK_PYTHON=/opt/anaconda2/bin/python &lt;/P&gt;&lt;P&gt;/opt/anaconda2/bin/python should be the location of your 2.7 python (this should be same across all clsuter nodes)&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 05:17:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-versions-of-python-issues/m-p/188208#M83398</guid>
      <dc:creator>falbani</dc:creator>
      <dc:date>2018-09-12T05:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: multiple versions of python issues</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-versions-of-python-issues/m-p/188209#M83399</link>
      <description>&lt;P&gt;Thanks, this did work for me!  &lt;/P&gt;&lt;P&gt;Is there a way to configure the hadoop cluster to use a specific installed version of python?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 04:50:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/multiple-versions-of-python-issues/m-p/188209#M83399</guid>
      <dc:creator>wazzu62</dc:creator>
      <dc:date>2018-09-13T04:50:55Z</dc:date>
    </item>
  </channel>
</rss>

