<?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: Change Python path in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Change-Python-path/m-p/38336#M24240</link>
    <description>&lt;P&gt;You need to add the PYSPARK_PYTHON variable to the YARN configuration :&lt;BR /&gt;`YARN (MR2 Included) Service Environment Advanced Configuration Snippet (Safety Valve)`&lt;BR /&gt;Do that, restart the cluster and you are good to go.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2016 16:24:57 GMT</pubDate>
    <dc:creator>SparkeyG</dc:creator>
    <dc:date>2016-03-04T16:24:57Z</dc:date>
    <item>
      <title>Change Python path</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Change-Python-path/m-p/38333#M24239</link>
      <description>&lt;P&gt;I need to change the python that is being used with my CDH5.5.1 cluster. My research pointed me to set PYSPARK_PYTHON in spark-env.sh. I tried that manually without success. I then used Cloudera Manager to set the variable in both the '&lt;SPAN&gt;Spark Service Environment Advanced Configuration Snippet' &amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;'&lt;SPAN&gt;Spark Service Advanced Configuration Snippet' &amp;amp; about everywhere else that referenced spark-env-sh. This hasn't worked and I'm at a lost where to go next.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:07:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Change-Python-path/m-p/38333#M24239</guid>
      <dc:creator>SparkeyG</dc:creator>
      <dc:date>2022-09-16T10:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change Python path</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Change-Python-path/m-p/38336#M24240</link>
      <description>&lt;P&gt;You need to add the PYSPARK_PYTHON variable to the YARN configuration :&lt;BR /&gt;`YARN (MR2 Included) Service Environment Advanced Configuration Snippet (Safety Valve)`&lt;BR /&gt;Do that, restart the cluster and you are good to go.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 16:24:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Change-Python-path/m-p/38336#M24240</guid>
      <dc:creator>SparkeyG</dc:creator>
      <dc:date>2016-03-04T16:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change Python path</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Change-Python-path/m-p/40010#M24241</link>
      <description>&lt;P&gt;Dear SparkeyG, pls would you elaborate on how to add the PYSPARK_PYTHON variable to YARN configuration snippet as per your suggestion? What format do I need to use for the snippet? Would you be so kind and post an example?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;jaro&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 20:08:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Change-Python-path/m-p/40010#M24241</guid>
      <dc:creator>jarourbtb</dc:creator>
      <dc:date>2016-04-21T20:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Change Python path</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Change-Python-path/m-p/40011#M24242</link>
      <description>&lt;P&gt;From cloudera manager, select Clusters-&amp;gt;Spark&lt;/P&gt;&lt;P&gt;Select Configuration&lt;/P&gt;&lt;P&gt;In the search box in the filters box, search for 'Service Environment Advanced'&lt;/P&gt;&lt;P&gt;in the the&amp;nbsp;&lt;SPAN&gt;Spark Service Environment Advanced Configuration Snippet (Safety Valve) box enter something like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PYSPARK_PYTHON=/path/to/your/python&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Click Save Changes ;&amp;nbsp;then Distribute the changes and restart your spark cluster&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 20:16:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Change-Python-path/m-p/40011#M24242</guid>
      <dc:creator>SparkeyG</dc:creator>
      <dc:date>2016-04-21T20:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change Python path</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Change-Python-path/m-p/40014#M24243</link>
      <description>&lt;P&gt;thank you, SparkeyG!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for the YARN environment snippet should I add the same string (PYSPARK_PYTHON)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 20:36:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Change-Python-path/m-p/40014#M24243</guid>
      <dc:creator>jarourbtb</dc:creator>
      <dc:date>2016-04-21T20:36:16Z</dc:date>
    </item>
  </channel>
</rss>

