Member since
10-15-2018
3
Posts
0
Kudos Received
0
Solutions
02-26-2019
12:23 PM
Hello, I have been working on upgrading our cluster from CDH5.15 to CDH6.1.0 version. We have CentOS 6.10 operating system and Python version 2.6.6 on our boxes. According to the documentation the python version is compatable for the OS vesion (https://www.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_os_requirements.html#os_requirements) "Cloudera Enterprise 6 requires Python 2.6 or higher on RHEL 6 compatible operating systems". But, when trying to upgrade and launch services (CDH 6.1), HUE service fails with the following error message, 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 'ERROR: Unable to find python 2.7 installation' + exit 1
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. which says that it is looking for Python 2.7. Is there any properties file or configuration thats been set as 2.7 by default and needs to be changes? Due to this our HUE service is down. Any suggestion to resolve this issue would be helpful.
... View more
Labels:
01-08-2019
10:54 AM
Thanks for the response, Li. It was really helpful. Regards, -Thrisha
... View more
01-03-2019
12:25 PM
Hello, We currently have CDH 5.15.0 running in our environments and have a necessity to support OpenJDK. Does upgrading to CDH 6 help in supporting OpenJDK? If yes, can we directly upgrade from CDH 5.15.0 to CDH 6 or do we have to downgrade first to CDH 5.14 and then upgrade to CDH 6 ( documentation does not show direct upgrade from CDH 5.15 to CDH 6 https://www.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_install_upgrade_notes.html#topic_1_2). Thank you for your time in advance.
... View more
Labels:
- Labels:
-
Cloudera Manager
-
Manual Installation