<?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: CDH 6.1 upgrade fails HUE in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CDH-6-1-upgrade-fails-HUE/m-p/86939#M35829</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29922"&gt;@Thrisha&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the same link you pasted, it says:&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;Python&lt;/STRONG&gt;&amp;nbsp;- Cloudera Enterprise 6, with the exception of Hue, is supported on the Python version that is included in the operating system by default, as well as higher versions, but is not compatible with Python 3.0 or higher.&lt;/P&gt;&lt;P class="p1"&gt;For example, Cloudera Enterprise 6 requires Python 2.6 or higher on RHEL 6 compatible operating systems, but requires Python 2.7 or higher on RHEL 7 compatible operating systems.&lt;/P&gt;&lt;P class="p1"&gt;Hue in CDH 6 requires Python 2.7 or higher on all operating systems. For RHEL 6 compatible operating systems running Hue, you must&amp;nbsp;&lt;A href="https://www.cloudera.com/documentation/enterprise/6/release-notes/topics/install_python_27.html#install_python_27" target="_blank"&gt;&lt;SPAN class="s1"&gt;manually install Python 2.7&lt;/SPAN&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Based on above, you need to follow the link to manually install Python 2.7 for Hue to work in CDH 6.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Thanks and hope this helps,&lt;/P&gt;&lt;P class="p1"&gt;Li&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2019 22:38:20 GMT</pubDate>
    <dc:creator>lwang</dc:creator>
    <dc:date>2019-02-26T22:38:20Z</dc:date>
    <item>
      <title>CDH 6.1 upgrade fails HUE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDH-6-1-upgrade-fails-HUE/m-p/86936#M35828</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been working on upgrading our cluster from CDH5.15 to CDH6.1.0 version. We have &lt;STRONG&gt;CentOS 6.10&lt;/STRONG&gt; operating system and &lt;STRONG&gt;Python version 2.6.6&lt;/STRONG&gt; on our boxes. According to the documentation the python version is compatable for the OS vesion (&lt;A href="https://www.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_os_requirements.html#os_requirements" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_os_requirements.html#os_requirements&lt;/A&gt;) "&lt;SPAN&gt;&lt;EM&gt;Cloudera Enterprise 6 requires Python 2.6 or higher on RHEL 6 compatible operating systems&lt;/EM&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But, when trying to upgrade and launch services (CDH 6.1), HUE service fails with the following error message,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;2019-02-25 22:20:31,504 INFO CommandPusher:com.cloudera.cmf.service.AbstractDbConnectionTestCommand: ++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/lib/hadoop-kms ++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/lib/parquet ++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/lib/parquet ++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/lib/avro ++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/lib/avro ++ export CDH_KAFKA_HOME=/opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/lib/kafka ++ CDH_KAFKA_HOME=/opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/lib/kafka ++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/lib/kudu ++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/lib/kudu + locate_cdh_java_home + '[' -z /usr/lib/jvm/java-1.8.0-openjdk.x86_64 ']' + verify_java_home + '[' -z /usr/lib/jvm/java-1.8.0-openjdk.x86_64 ']' + echo JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk.x86_64 + export HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/591-HUE-test-db-connection + HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/591-HUE-test-db-connection + export HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/591-HUE-test-db-connection/hadoop-conf + HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/591-HUE-test-db-connection/hadoop-conf + '[' python27_version_check = is_db_alive ']' + '[' -n 6 ']' + '[' 6 -ge 6 ']' + python27_version_check + python27_exists=0 + python_vers=("/usr/bin" "/usr/local/python27/bin" "/opt/rh/python27/root/usr/bin") + for binpath in '${python_vers[@]}' + pybin=/usr/bin/python2.7 + '[' '!' -e /usr/bin/python2.7 ']' + continue + for binpath in '${python_vers[@]}' + pybin=/usr/local/python27/bin/python2.7 + '[' '!' -e /usr/local/python27/bin/python2.7 ']' + continue + for binpath in '${python_vers[@]}' + pybin=/opt/rh/python27/root/usr/bin/python2.7 + '[' '!' -e /opt/rh/python27/root/usr/bin/python2.7 ']' + continue + '[' 0 -eq 0 ']' + echo &lt;STRONG&gt;'ERROR: Unable to find python 2.7 installation' + exit 1&lt;/STRONG&gt;
2019-02-25 22:20:31,504 ERROR CommandPusher:com.cloudera.cmf.model.DbCommand: Command 2177(HueTestDatabaseConnection) has completed. finalstate:FINISHED, success:false, msg:Unexpected error. Unable to verify database connection.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;which says that it is looking for&amp;nbsp;Python 2.7. Is there any properties file or configuration thats been set as 2.7 by default and needs to be changes?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Due to this our&amp;nbsp;HUE service is down. Any suggestion to resolve this issue would be helpful.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:11:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDH-6-1-upgrade-fails-HUE/m-p/86936#M35828</guid>
      <dc:creator>Thrisha</dc:creator>
      <dc:date>2022-09-16T14:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 6.1 upgrade fails HUE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDH-6-1-upgrade-fails-HUE/m-p/86939#M35829</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29922"&gt;@Thrisha&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the same link you pasted, it says:&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;Python&lt;/STRONG&gt;&amp;nbsp;- Cloudera Enterprise 6, with the exception of Hue, is supported on the Python version that is included in the operating system by default, as well as higher versions, but is not compatible with Python 3.0 or higher.&lt;/P&gt;&lt;P class="p1"&gt;For example, Cloudera Enterprise 6 requires Python 2.6 or higher on RHEL 6 compatible operating systems, but requires Python 2.7 or higher on RHEL 7 compatible operating systems.&lt;/P&gt;&lt;P class="p1"&gt;Hue in CDH 6 requires Python 2.7 or higher on all operating systems. For RHEL 6 compatible operating systems running Hue, you must&amp;nbsp;&lt;A href="https://www.cloudera.com/documentation/enterprise/6/release-notes/topics/install_python_27.html#install_python_27" target="_blank"&gt;&lt;SPAN class="s1"&gt;manually install Python 2.7&lt;/SPAN&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Based on above, you need to follow the link to manually install Python 2.7 for Hue to work in CDH 6.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Thanks and hope this helps,&lt;/P&gt;&lt;P class="p1"&gt;Li&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 22:38:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDH-6-1-upgrade-fails-HUE/m-p/86939#M35829</guid>
      <dc:creator>lwang</dc:creator>
      <dc:date>2019-02-26T22:38:20Z</dc:date>
    </item>
  </channel>
</rss>

