<?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: Configuring CDH cluster with Python 3 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/64312#M73192</link>
    <description>&lt;P&gt;Hi Eyal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you check this post from cloudera for anaconda parcel:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blog.cloudera.com/blog/2016/02/making-python-on-apache-hadoop-easier-with-anaconda-and-cdh/" target="_blank"&gt;http://blog.cloudera.com/blog/2016/02/making-python-on-apache-hadoop-easier-with-anaconda-and-cdh/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2018 07:11:05 GMT</pubDate>
    <dc:creator>Divyani</dc:creator>
    <dc:date>2018-02-05T07:11:05Z</dc:date>
    <item>
      <title>Configuring CDH cluster with Python 3</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/63376#M73187</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using CDH 5.8.3 community&amp;nbsp;version and we want to add support for Python 3.5+ to our cluster since our research algos need Python 3.5+ in order to run their spark jobs successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that Cloudera and Anaconda has such parcel to support Python, but this parcel support Python version 2.7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the recommended&amp;nbsp;way to enable Python version 3+ on CDH cluster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eyal&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:42:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/63376#M73187</guid>
      <dc:creator>eyalb</dc:creator>
      <dc:date>2022-09-16T12:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring CDH cluster with Python 3</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/63459#M73188</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the following link:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.anaconda.com/blog/developer-blog/python-35-support-anaconda/" target="_blank"&gt;https://www.anaconda.com/blog/developer-blog/python-35-support-anaconda/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 06:18:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/63459#M73188</guid>
      <dc:creator>Divyani</dc:creator>
      <dc:date>2018-01-09T06:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring CDH cluster with Python 3</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/63476#M73189</link>
      <description>&lt;P&gt;Isn't there a better option like the Cloudera-Anconda parcel which can be managed using CM?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 08:55:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/63476#M73189</guid>
      <dc:creator>eyalb</dc:creator>
      <dc:date>2018-01-09T08:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring CDH cluster with Python 3</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/63668#M73190</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additional thoughts on the question I asked?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eyal&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jan 2018 09:34:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/63668#M73190</guid>
      <dc:creator>eyalb</dc:creator>
      <dc:date>2018-01-14T09:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring CDH cluster with Python 3</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/64217#M73191</link>
      <description>&lt;P&gt;Hi Divyani,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the solution you offered the best one (the post you shared is from Sep 2015)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eyal&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 11:13:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/64217#M73191</guid>
      <dc:creator>eyalb</dc:creator>
      <dc:date>2018-02-01T11:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring CDH cluster with Python 3</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/64312#M73192</link>
      <description>&lt;P&gt;Hi Eyal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you check this post from cloudera for anaconda parcel:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blog.cloudera.com/blog/2016/02/making-python-on-apache-hadoop-easier-with-anaconda-and-cdh/" target="_blank"&gt;http://blog.cloudera.com/blog/2016/02/making-python-on-apache-hadoop-easier-with-anaconda-and-cdh/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 07:11:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/64312#M73192</guid>
      <dc:creator>Divyani</dc:creator>
      <dc:date>2018-02-05T07:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring CDH cluster with Python 3</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/81164#M73193</link>
      <description>&lt;P&gt;Hi Divyani,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the link you shared but again the Anaconda parcel only comes with Python 2.7 and I need Python 3.5.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if I want to enable Python 3.5 in the cluster what are the best recommanded methods?&lt;/P&gt;&lt;P&gt;What if I want to enable multiple Python versions in the cluster and enable each app to run with its own Python version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best, Eyal&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 08:29:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/81164#M73193</guid>
      <dc:creator>noamh</dc:creator>
      <dc:date>2018-10-17T08:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring CDH cluster with Python 3</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/81196#M73194</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Continuum ships Anaconda parcel and Cloudera does not have control on which python version it installs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please use the OS package management tool to install python 3.5 on the servers in the CDH cluster, once that is done, please follow this doc to set python for your pyspark job:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-8-x/topics/spark_python.html#spark_python__section_ark_lkn_25" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-8-x/topics/spark_python.html#spark_python__section_ark_lkn_25&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 18:45:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/81196#M73194</guid>
      <dc:creator>Yuexin Zhang</dc:creator>
      <dc:date>2018-10-17T18:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring CDH cluster with Python 3</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/89972#M73195</link>
      <description>&lt;P&gt;Can you give some steps and instructions to install Python3.5 or Anaconda package in the CDH cluster? By using the parcel way is not working as expected, the parcel shows the message, distributed, activated, but it is not with python3.5, it is still using python2.7. Please let me know if there is any document to install manually anaconda with python3.5 to cdh cluster through the command line.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 19:37:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/89972#M73195</guid>
      <dc:creator>Mkay</dc:creator>
      <dc:date>2019-05-06T19:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring CDH cluster with Python 3</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/90011#M73196</link>
      <description>Hi MKay,&lt;BR /&gt;&lt;BR /&gt;As mentioned in my previous posts the Anaconda parcel for CDH comes only&lt;BR /&gt;with Python 2.7 and I could find a free way to get a parcel with Python 3+.&lt;BR /&gt;&lt;BR /&gt;We ended up manually installing the different Python versions we needed by&lt;BR /&gt;keeping&lt;BR /&gt;different virtual envs for different Python versions.&lt;BR /&gt;&lt;BR /&gt;We executed the following procedure to install python 3.5:&lt;BR /&gt;&lt;BR /&gt;yum install python-pip&lt;BR /&gt;curl "&lt;A href="https://bootstrap.pypa.io/get-pip.py" target="_blank"&gt;https://bootstrap.pypa.io/get-pip.py&lt;/A&gt;" -o "get-pip.py"&lt;BR /&gt;python get-pip.py&lt;BR /&gt;pip install virtualenv&lt;BR /&gt;yum install -y &lt;A href="https://centos7.iuscommunity.org/ius-release.rpm" target="_blank"&gt;https://centos7.iuscommunity.org/ius-release.rpm&lt;/A&gt;&lt;BR /&gt;yum install -y python35u python35u-libs python35u-devel python35u-pip&lt;BR /&gt;mkdir -p /opt/venv35&lt;BR /&gt;cd /opt/venv35&lt;BR /&gt;virtualenv venv35 -p python3.5&lt;BR /&gt;source venv35/bin/activate&lt;BR /&gt;&lt;BR /&gt;Best, Eyal&lt;BR /&gt;</description>
      <pubDate>Tue, 07 May 2019 09:26:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-CDH-cluster-with-Python-3/m-p/90011#M73196</guid>
      <dc:creator>eyalb</dc:creator>
      <dc:date>2019-05-07T09:26:44Z</dc:date>
    </item>
  </channel>
</rss>

