<?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: Python 2.7.5-69 compatability with HDP 2.6.4 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Python-2-7-5-69-compatability-with-HDP-2-6-4/m-p/186628#M83265</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/74272/ammills01.html" nodeid="74272"&gt;@Andrew
 Mills
&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Regarding your query:  "What version of HDP/Ambari do I need to be on in order to use the latest version of Python?"&lt;/P&gt;&lt;P&gt;As per the Support matrix you should be able to use :&lt;/P&gt;&lt;P&gt;For Ambari 2.6.2.x Any of the following Python version are supported as per:  &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-installation/content/mmsr_software_reqs.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-installation/content/mmsr_software_reqs.html&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;Python
--------
For SLES 12 --&amp;gt;  Python 2.7.x
For CentOS 7, Ubuntu 14, Ubuntu 16, and Debian 9 --&amp;gt; Python 2.7.x
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Sep 2018 08:12:41 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2018-09-07T08:12:41Z</dc:date>
    <item>
      <title>Python 2.7.5-69 compatability with HDP 2.6.4</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Python-2-7-5-69-compatability-with-HDP-2-6-4/m-p/186626#M83263</link>
      <description>&lt;P&gt;We are running RHEL 7, HDP 2.6.4, and Ambari 2.6.2.0 on a 6 VM cluster.  This morning we patched the cluster and one of the items it upgraded was Python.  It took Python from 2.7.5-&lt;STRONG&gt;68&lt;/STRONG&gt; to 2.7.5-&lt;STRONG&gt;69&lt;/STRONG&gt;, effectively breaking communication between the Ambari Server and Agents.  The following error was thrown every 10 seconds in the ambari-agent.log&lt;/P&gt;&lt;P&gt;INFO 2018-09-06 13:09:36,133 NetUtil.py:70 - Connecting to &lt;A href="https://{HOST_NAME}:8440/ca" target="_blank"&gt;https://{HOST_NAME}:8440/ca&lt;/A&gt;&lt;BR /&gt;ERROR 2018-09-06 13:09:36,166 NetUtil.py:96 - EOF occurred in violation of protocol (_ssl.c:579)&lt;BR /&gt;ERROR 2018-09-06 13:09:36,167 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions.&lt;BR /&gt;Refer to: &lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=1022468" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=1022468&lt;/A&gt; for more details.&lt;/P&gt;&lt;P&gt;My question is, what version of HDP/Ambari do I need to be on in order to use the latest version of Python?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 08:06:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Python-2-7-5-69-compatability-with-HDP-2-6-4/m-p/186626#M83263</guid>
      <dc:creator>ammills01</dc:creator>
      <dc:date>2018-09-07T08:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Python 2.7.5-69 compatability with HDP 2.6.4</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Python-2-7-5-69-compatability-with-HDP-2-6-4/m-p/186627#M83264</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/74272/ammills01.html" nodeid="74272"&gt;@Andrew
 Mills
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regarding the following error&lt;/P&gt;&lt;PRE&gt;ERROR 2018-09-06 13:09:36,166 NetUtil.py:96 - EOF occurred in violation of protocol (_ssl.c:579)&lt;/PRE&gt;&lt;P&gt;You can get more detailed explanation on why do we see this error and how to remediate it here: &lt;A href="https://community.hortonworks.com/articles/188269/javapython-updates-and-ambari-agent-tls-settings.html" target="_blank"&gt;https://community.hortonworks.com/articles/188269/javapython-updates-and-ambari-agent-tls-settings.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Summary: &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This can happen when Ambari Agent is trying to communicate with the Ambari Server using 
TLSv1, instead of the TLS version mandated by upgraded JDK which is 
TLSv1.2.
&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;There are two situations that have to be considered when solving this problem&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;1.) If you are running CentOS 6 or SLES 11 the version of Python (2.6.x) &lt;STRONG&gt;does not&lt;/STRONG&gt; work with TLSv1.2, so you must make changes to your newly updated JDK in order to proceed.&lt;/P&gt;&lt;P&gt;2.) If you are running CentOS 7, Debian 7, Ubuntu 14 &amp;amp; 16, or SLES 12 the version of Python (2.7.x) &lt;STRONG&gt;does &lt;/STRONG&gt;work
 with TLS v1.2, so you only have to make changes to the Ambari Agent 
configuration to tell it to use TLS v1.2 in order to proceed.&lt;/P&gt;&lt;H4&gt;Solution For CentOS 7, Debian 7, Ubuntu 14 &amp;amp; 16, or SLES 12 (Python 2.7)&lt;/H4&gt;&lt;P&gt;To
 solve this problem simply configure the Ambari Agent to use TLSv1.2 
when communicating with the Ambari Server by editing each Ambari Agent’s
 /etc/ambari-agent/conf/ambari-agent.ini file and adding the following 
configuration property to the security section:&lt;/P&gt;&lt;PRE&gt;[security]
force_https_protocol=PROTOCOL_TLSv1_2&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;Once
 this configuration change has been made, the Ambari Agent needs to be 
restarted. After restarting you should no longer see the ERROR’s in the 
Ambari Agent logs, and in the Ambari Server UI you’ll notice that all 
Ambari Agents are once again heartbeating.&lt;/P&gt;&lt;H4&gt;Solution for CentOS 6, or SLES 11 (Python 2.6)&lt;/H4&gt;&lt;P&gt;In
 this scenario the only way forward is to edit the java.security file in
 the JDK being used by the Ambari Server and make the following changes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Locate the &lt;STRONG&gt;jdk.tls.disabledAlgorithms&lt;/STRONG&gt; property and remove the &lt;STRONG&gt;3DES_EDE_CBC&lt;/STRONG&gt; reference&lt;/LI&gt;&lt;LI&gt;Save the file, and restart the Ambari Server&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 08:09:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Python-2-7-5-69-compatability-with-HDP-2-6-4/m-p/186627#M83264</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-09-07T08:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Python 2.7.5-69 compatability with HDP 2.6.4</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Python-2-7-5-69-compatability-with-HDP-2-6-4/m-p/186628#M83265</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/74272/ammills01.html" nodeid="74272"&gt;@Andrew
 Mills
&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Regarding your query:  "What version of HDP/Ambari do I need to be on in order to use the latest version of Python?"&lt;/P&gt;&lt;P&gt;As per the Support matrix you should be able to use :&lt;/P&gt;&lt;P&gt;For Ambari 2.6.2.x Any of the following Python version are supported as per:  &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-installation/content/mmsr_software_reqs.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-installation/content/mmsr_software_reqs.html&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;Python
--------
For SLES 12 --&amp;gt;  Python 2.7.x
For CentOS 7, Ubuntu 14, Ubuntu 16, and Debian 9 --&amp;gt; Python 2.7.x
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 08:12:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Python-2-7-5-69-compatability-with-HDP-2-6-4/m-p/186628#M83265</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-09-07T08:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Python 2.7.5-69 compatability with HDP 2.6.4</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Python-2-7-5-69-compatability-with-HDP-2-6-4/m-p/186629#M83266</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; thank you for the answer, this fixed my issue.  Adding force_https_protocol=PROTOCOL_TLSv1 to the Ambari Agents allowed them to connect to the server.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Sep 2018 05:17:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Python-2-7-5-69-compatability-with-HDP-2-6-4/m-p/186629#M83266</guid>
      <dc:creator>ammills01</dc:creator>
      <dc:date>2018-09-16T05:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Python 2.7.5-69 compatability with HDP 2.6.4</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Python-2-7-5-69-compatability-with-HDP-2-6-4/m-p/186630#M83267</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt;  I am having a similar issue on Centos 7.x. Please see &lt;A href="https://community.hortonworks.com/comments/222163/view.html" target="_blank"&gt;https://community.hortonworks.com/comments/222163/view.html&lt;/A&gt;.  (scroll all the way down to the last comment for exact details of the issue)&lt;/P&gt;&lt;P&gt;Ambari-server is up and running, but Ambari Server UI is not accessible.&lt;/P&gt;&lt;P&gt;My curl request to the &lt;A href="https://&amp;lt;ambari-server" target="_blank"&gt;https://&amp;lt;ambari-server&lt;/A&gt; host&amp;gt;:8xxx fails with the below message:&lt;/P&gt;&lt;P&gt;* Initializing NSS with certpath: sql:/etc/pki/nssdb&lt;BR /&gt;*  CAfile: /etc/pki/tls/certs/ca-bundle.crt&lt;BR /&gt;  CApath: none&lt;BR /&gt;* NSS error -5938 (PR_END_OF_FILE_ERROR)&lt;BR /&gt;* Encountered end of file&lt;BR /&gt;* Closing connection 0&lt;BR /&gt;curl: (35) Encountered end of file&lt;/P&gt;&lt;P&gt;Though all the ambari-agents in the cluster are updated to force the use of TLSV1_2, no luck.&lt;/P&gt;&lt;P&gt;Any thoughts?  Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 00:57:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Python-2-7-5-69-compatability-with-HDP-2-6-4/m-p/186630#M83267</guid>
      <dc:creator>anrathen</dc:creator>
      <dc:date>2018-09-26T00:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Python 2.7.5-69 compatability with HDP 2.6.4</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Python-2-7-5-69-compatability-with-HDP-2-6-4/m-p/186631#M83268</link>
      <description>&lt;P&gt;We were able to solve this by locating one of the Cipher Suite which is originally marked as 'disabled' in ambari.properties,  and enabled the same by removing the ambari.properties and restarting the server.&lt;/P&gt;&lt;P&gt;First tried with removing the ciphers.disabled properties(take a backup), and then restart ambari-server.  Used Openssl command to connect to the ambari-server on https port.  Identified which cipher suite is being used to establish connection, and then located the corresponding RFC cipher mapping for the cipher suite and removed that in the list of cipher suites listed on the ciphers.disabled property in ambari.properties file.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 05:02:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Python-2-7-5-69-compatability-with-HDP-2-6-4/m-p/186631#M83268</guid>
      <dc:creator>anrathen</dc:creator>
      <dc:date>2018-10-09T05:02:23Z</dc:date>
    </item>
  </channel>
</rss>

