Created 10-07-2024 01:34 PM
Hi Community,
I have recently upgraded our Cloudera Manager from CM 7.6.7 to CM 7.11.3. After the upgrade, we have not been able to successfully restart many of our services, which include, hue, hdfs, and hbase.
We are currently on CDP 7.1.7 SP2. We intend to upgrade the CDP 7.1.7 SP2 to CDP 7.1.7 SP3 after the issues are resolved.
As a pre-requisite, we have installed Python3.8 (Installation was via anaconda) and created an alternatives pointing python3.8 to the custom installation location.
So, we can type python3.8 --version and get the right result (Python 3.8.18).
After the upgrade, we tried to restart a hue service but get the following exception.
[07/Oct/2024 16:58:09 +0100] 10345 MainThread redactor INFO Started launcher: /opt/cloudera/cm-agent/service/hue/hue.sh runcpserver
[07/Oct/2024 16:58:09 +0100] 10345 MainThread redactor INFO Re-exec watcher: /opt/cloudera/cm-agent/bin/cm proc_watcher 10620
[07/Oct/2024 16:58:10 +0100] 10621 MainThread redactor INFO Re-exec redactor: /opt/cloudera/cm-agent/bin/cm redactor --fds 3 5
[07/Oct/2024 16:58:21 +0100] 10621 MainThread redactor INFO Started redactor
+ date
+ date
Mon 7 Oct 16:58:20 BST 2024
++ dirname /opt/cloudera/cm-agent/service/hue/hue.sh
+ cloudera_config=/opt/cloudera/cm-agent/service/hue
++ cd /opt/cloudera/cm-agent/service/hue/../common
++ pwd
+ cloudera_config=/opt/cloudera/cm-agent/service/common
+ . /opt/cloudera/cm-agent/service/common/cloudera-config.sh
++ : /opt/cloudera/cm
++ export CLOUDERA_DIR
++ set -x
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/meta/cdh_env.sh ']'
+ OLD_IFS='
'
+ IFS=:
+ SCRIPT_ARRAY=($SCM_DEFINES_SCRIPTS)
+ DIRNAME_ARRAY=($PARCEL_DIRNAMES)
+ IFS='
'
+ COUNT=1
++ seq 1 1
+ for i in '`seq 1 $COUNT`'
+ SCRIPT=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-7.1.7-1.cdh7.1.7.p2046.46875634
+ . /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-7.1.7-1.cdh7.1.7.p2046.46875634
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-hdfs
++ export CDH_OZONE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-ozone
++ CDH_OZONE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-ozone
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hbase
++ export CDH_HBASE_FILESYSTEM_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hbase_filesystem
++ CDH_HBASE_FILESYSTEM_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hbase_filesystem
++ export CDH_HBASE_CONNECTORS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hbase_connectors
++ CDH_HBASE_CONNECTORS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hbase_connectors
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/zookeeper
++ export CDH_ZEPPELIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/zeppelin
++ CDH_ZEPPELIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/zeppelin
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hive-hcatalog
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/sentry
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-kms
++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/parquet
++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/parquet
++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/avro
++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/avro
++ export CDH_KAFKA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/kafka
++ CDH_KAFKA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/kafka
++ export CDH_SCHEMA_REGISTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/schemaregistry
++ CDH_SCHEMA_REGISTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/schemaregistry
++ export CDH_STREAMS_MESSAGING_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/streams_messaging_manager
++ CDH_STREAMS_MESSAGING_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/streams_messaging_manager
++ export CDH_STREAMS_MESSAGING_MANAGER_UI_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/streams_messaging_manager_ui
++ CDH_STREAMS_MESSAGING_MANAGER_UI_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/streams_messaging_manager_ui
++ export CDH_STREAMS_REPLICATION_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/streams_replication_manager
++ CDH_STREAMS_REPLICATION_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/streams_replication_manager
++ export CDH_CRUISE_CONTROL_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/cruise_control
++ CDH_CRUISE_CONTROL_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/cruise_control
++ export CDH_KNOX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/knox
++ CDH_KNOX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/knox
++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/kudu
++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/kudu
++ export CDH_RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-admin
++ CDH_RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-admin
++ export CDH_RANGER_TAGSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-tagsync
++ CDH_RANGER_TAGSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-tagsync
++ export CDH_RANGER_USERSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-usersync
++ CDH_RANGER_USERSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-usersync
++ export CDH_RANGER_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-kms
++ CDH_RANGER_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-kms
++ export CDH_RANGER_RAZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-raz
++ CDH_RANGER_RAZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-raz
++ export CDH_RANGER_RMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-rms
++ CDH_RANGER_RMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-rms
++ export CDH_ATLAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/atlas
++ CDH_ATLAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/atlas
++ export CDH_TEZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/tez
++ CDH_TEZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/tez
++ export CDH_PHOENIX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/phoenix
++ CDH_PHOENIX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/phoenix
++ export CDH_PHOENIX_QUERYSERVER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/phoenix_queryserver
++ CDH_PHOENIX_QUERYSERVER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/phoenix_queryserver
++ export DAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/data_analytics_studio
++ DAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/data_analytics_studio
++ export QUEUEMANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/queuemanager
++ QUEUEMANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/queuemanager
++ export CDH_RANGER_HBASE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-hbase-plugin
++ CDH_RANGER_HBASE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-hbase-plugin
++ export CDH_RANGER_HIVE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-hive-plugin
++ CDH_RANGER_HIVE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-hive-plugin
++ export CDH_RANGER_ATLAS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-atlas-plugin
++ CDH_RANGER_ATLAS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-atlas-plugin
++ export CDH_RANGER_SOLR_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-solr-plugin
++ CDH_RANGER_SOLR_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-solr-plugin
++ export CDH_RANGER_HDFS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-hdfs-plugin
++ CDH_RANGER_HDFS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-hdfs-plugin
++ export CDH_RANGER_KNOX_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-knox-plugin
++ CDH_RANGER_KNOX_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-knox-plugin
++ export CDH_RANGER_YARN_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-yarn-plugin
++ CDH_RANGER_YARN_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-yarn-plugin
++ export CDH_RANGER_OZONE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-ozone-plugin
++ CDH_RANGER_OZONE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-ozone-plugin
++ export CDH_RANGER_KAFKA_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-kafka-plugin
++ CDH_RANGER_KAFKA_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/ranger-kafka-plugin
+ locate_cdh_java_home
+ '[' -z /usr/java/default ']'
+ verify_java_home
+ '[' -z /usr/java/default ']'
+ echo JAVA_HOME=/usr/java/default
+ export HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER
+ HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER
+ export HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf
+ HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf
+ '[' -e /usr/share/oracle/instantclient/lib ']'
+ export 'LD_LIBRARY_PATH=/usr/share/oracle/instantclient/lib:$LD_LIBRARY_PATH:$ORACLE_HOME/lib:/data/cloudera/cm-agent/lib'
+ LD_LIBRARY_PATH='/usr/share/oracle/instantclient/lib:$LD_LIBRARY_PATH:$ORACLE_HOME/lib:/data/cloudera/cm-agent/lib'
+ [[ -d /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/yarn-conf ]]
+ [[ -d /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf ]]
+ chmod -R a+r /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf
+ export HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hive-conf
+ HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hive-conf
+ chmod -R a+r /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hive-conf
+ export HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop
+ HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop
+ export HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hive
+ HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hive
+ export HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue
+ HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue
+ export HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hbase
+ HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hbase
+ export PIG_HOME=/usr/lib/pig
+ PIG_HOME=/usr/lib/pig
+ export PIG_SCRIPT_HOME=/usr/lib/pig/../..
+ PIG_SCRIPT_HOME=/usr/lib/pig/../..
+ echo HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue
+ echo HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER
+ echo HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop
+ echo HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf
+ echo HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hive
+ echo HIVE_DEFAULT_XML=/etc/hive/conf.dist/hive-default.xml
+ echo HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hive-conf
+ echo HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hbase
+ echo PIG_HOME=/usr/lib/pig
+ HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hbase-conf
+ [[ -d /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hbase-conf ]]
+ chmod -R a+r /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hbase-conf
+ echo HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hbase-conf
+ SQOOP2_CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/sqoop2-conf
+ [[ -d /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/sqoop2-conf ]]
+ echo SQOOP2_CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/sqoop2-conf
+ export PYTHON_EGG_CACHE=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/.python-eggs
+ PYTHON_EGG_CACHE=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/.python-eggs
+ perl -pi -e 's#\{\{JAVA_HOME}}#/usr/java/default#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HBASE_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hbase#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{PIG_SCRIPT_HOME}}#/usr/lib/pig/../..#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HADOOP_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HUE_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve_server.ini
+ [[ -d /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hbase-conf ]]
+ perl -pi -e 's#\{\{HBASE_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hbase-conf#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HBASE_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hbase-conf#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hbase-conf/hbase-env.sh
+ [[ -d /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/sqoop2-conf ]]
+ perl -pi -e 's#\{\{SQOOP2_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/sqoop2-conf#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{SQOOP2_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/sqoop2-conf#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/sqoop2-conf/sqoop.properties
+ '[' 7 -ge 4 ']'
+ perl -pi -e 's#\{\{HADOOP_HDFS_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-hdfs#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HADOOP_MR1_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-0.20-mapreduce#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HADOOP_MR2_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-mapreduce#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HADOOP_BIN}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop/bin/hadoop#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve_server.ini
+ SQOOP2_SCRIPT_HOME=/usr/lib/sqoop2/../..
+ perl -pi -e 's#\{\{SQOOP2_SCRIPT_HOME}}#/usr/lib/sqoop2/../..#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{CDH_MR1_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-0.20-mapreduce#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/core-site.xml /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/hadoop-env.sh /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/log4j.properties /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/ssl-client.xml
+ perl -pi -e 's#\{\{CDH_MR2_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop-mapreduce#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/core-site.xml /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/hadoop-env.sh /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/log4j.properties /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/ssl-client.xml
+ perl -pi -e 's#\{\{CDH_HADOOP_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hadoop#g' /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/core-site.xml /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/hadoop-env.sh /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/log4j.properties /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hadoop-conf/ssl-client.xml
+ replace_conf_dir
+ echo CONF_DIR=/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER
+ echo CMF_CONF_DIR=
+ EXCLUDE_CMF_FILES=('cloudera-config.sh' 'hue.sh' 'impala.sh' 'sqoop.sh' 'supervisor.conf' 'config.zip' 'proc.json' '*.log' '*.keytab' '*jceks' '*bcfks' 'supervisor_status')
++ printf '! -name %s ' cloudera-config.sh hue.sh impala.sh sqoop.sh supervisor.conf config.zip proc.json '*.log' hue.keytab creds.localjceks '*bcfks' supervisor_status
+ find /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER -type f '!' -path '/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/logs/*' '!' -name cloudera-config.sh '!' -name hue.sh '!' -name impala.sh '!' -name sqoop.sh '!' -name supervisor.conf '!' -name config.zip '!' -name proc.json '!' -name '*.log' '!' -name hue.keytab '!' -name creds.localjceks '!' -name '*bcfks' '!' -name supervisor_status -exec perl -pi -e 's#\{\{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER#g' '{}' ';'
+ make_scripts_executable
+ find /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER -regex '.*\.\(py\|sh\)$' -exec chmod u+x '{}' ';'
+ python27_required=0
++ head -1 /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/bin/hue
++ grep -o python2
+ '[' python2 == python2 ']'
+ python27_required=1
+ [[ python27_version_check == \r\u\n\c\p\s\e\r\v\e\r ]]
+ [[ python38_version_check == \r\u\n\c\p\s\e\r\v\e\r ]]
+ [[ python39_version_check == \r\u\n\c\p\s\e\r\v\e\r ]]
+ [[ python310_version_check == \r\u\n\c\p\s\e\r\v\e\r ]]
+ '[' -n 7 ']'
+ '[' 7 -ge 7 ']'
+ '[' 1 -eq 0 ']'
+ '[' -n 7 ']'
+ '[' 7 -lt 7 ']'
+ '[' -n 7 ']'
+ '[' 7 -ge 7 ']'
+ '[' 1 -eq 0 ']'
+ '[' -n 7 ']'
+ '[' 7 -le 7 ']'
+ '[' 7 -ge 6 ']'
+ '[' 1 -eq 1 ']'
+ add_postgres_to_pythonpath
+ grep -q '^\s*engine\s*=\s*postgres\+' hue.ini hue_safety_valve.ini hue_safety_valve_server.ini
+ '[' 7 -lt 6 ']'
+ add_mysql_to_pythonpath
+ grep -q '^\s*engine\s*=\s*mysql\+' hue.ini hue_safety_valve.ini hue_safety_valve_server.ini
+ [[ runcpserver == \b\e\e\s\w\a\x\_\s\e\r\v\e\r ]]
+ set_classpath_in_var HADOOP_EXTRA_CLASSPATH_STRING
+ '[' -z HADOOP_EXTRA_CLASSPATH_STRING ']'
+ [[ -n /opt/cloudera/cm ]]
++ tr '\n' :
++ find /opt/cloudera/cm/lib/plugins -maxdepth 1 -name '*.jar'
+ ADD_TO_CP=/opt/cloudera/cm/lib/plugins/event-publish-7.11.3-shaded.jar:/opt/cloudera/cm/lib/plugins/tt-instrumentation-7.11.3.jar:
+ [[ -n '' ]]
+ eval 'OLD_VALUE=$HADOOP_EXTRA_CLASSPATH_STRING'
++ OLD_VALUE=
+ NEW_VALUE=/opt/cloudera/cm/lib/plugins/event-publish-7.11.3-shaded.jar:/opt/cloudera/cm/lib/plugins/tt-instrumentation-7.11.3.jar:
+ export HADOOP_EXTRA_CLASSPATH_STRING=/opt/cloudera/cm/lib/plugins/event-publish-7.11.3-shaded.jar:/opt/cloudera/cm/lib/plugins/tt-instrumentation-7.11.3.jar
+ HADOOP_EXTRA_CLASSPATH_STRING=/opt/cloudera/cm/lib/plugins/event-publish-7.11.3-shaded.jar:/opt/cloudera/cm/lib/plugins/tt-instrumentation-7.11.3.jar
+ HUE=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/bin/hue
+ HUE_LOGLISTENER=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/desktop/core/src/desktop/loglistener.py
++ grep http_port /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546475458-hue-HUE_SERVER/hue_safety_valve_server.ini
++ tail -1
++ cut -d= -f2
+ HUE_PORT=8888
+ '[' runcpserver == runcpserver ']'
+ '[' 7 -lt 6 ']'
+ '[' '!' -z '' ']'
+ run_syncdb_and_migrate_subcommands
+ '[' 7 -ge 6 ']'
+ /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/bin/hue makemigrations --noinput
Traceback (most recent call last):
File "/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/bin/hue", line 14, in <module>
load_entry_point('desktop', 'console_scripts', 'hue')()
File "/data/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/desktop/core/src/desktop/manage_entry.py", line 59, in entry
from django.core.management import execute_from_command_line, find_commands
File "/data/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11.29-py2.7.egg/django/core/management/__init__.py", line 17, in <module>
from django.utils import autoreload, lru_cache, six
File "/data/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11.29-py2.7.egg/django/utils/autoreload.py", line 61, in <module>
import pyinotify
File "/data/cloudera/cm-agent/lib/python3.8/site-packages/pyinotify.py", line 53, in <module>
raise UnsupportedPythonVersionError(sys.version)
pyinotify.UnsupportedPythonVersionError: Python 2.7.5 (default, Nov 13 2023, 01:37:03)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44.0.3)] is unsupported, requires at least Python 3.0
+ /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/bin/hue migrate --fake-initial
Traceback (most recent call last):
File "/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/bin/hue", line 14, in <module>
load_entry_point('desktop', 'console_scripts', 'hue')()
File "/data/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/desktop/core/src/desktop/manage_entry.py", line 59, in entry
from django.core.management import execute_from_command_line, find_commands
File "/data/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11.29-py2.7.egg/django/core/management/__init__.py", line 17, in <module>
from django.utils import autoreload, lru_cache, six
File "/data/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11.29-py2.7.egg/django/utils/autoreload.py", line 61, in <module>
import pyinotify
File "/data/cloudera/cm-agent/lib/python3.8/site-packages/pyinotify.py", line 53, in <module>
raise UnsupportedPythonVersionError(sys.version)
pyinotify.UnsupportedPythonVersionError: Python 2.7.5 (default, Nov 13 2023, 01:37:03)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44.0.3)] is unsupported, requires at least Python 3.0
+ [[ dumpdata == \r\u\n\c\p\s\e\r\v\e\r ]]
+ [[ syncdb == \r\u\n\c\p\s\e\r\v\e\r ]]
+ [[ ldaptest == \r\u\n\c\p\s\e\r\v\e\r ]]
+ [[ runcpserver == \r\u\n\c\p\s\e\r\v\e\r ]]
+ exec /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/bin/hue runcpserver
Traceback (most recent call last):
File "/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/bin/hue", line 14, in <module>
load_entry_point('desktop', 'console_scripts', 'hue')()
File "/data/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/desktop/core/src/desktop/manage_entry.py", line 59, in entry
from django.core.management import execute_from_command_line, find_commands
File "/data/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11.29-py2.7.egg/django/core/management/__init__.py", line 17, in <module>
from django.utils import autoreload, lru_cache, six
File "/data/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/lib/python2.7/site-packages/Django-1.11.29-py2.7.egg/django/utils/autoreload.py", line 61, in <module>
import pyinotify
File "/data/cloudera/cm-agent/lib/python3.8/site-packages/pyinotify.py", line 53, in <module>
raise UnsupportedPythonVersionError(sys.version)
pyinotify.UnsupportedPythonVersionError: Python 2.7.5 (default, Nov 13 2023, 01:37:03)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44.0.3)] is unsupported, requires at least Python 3.0
When I check the parcel directory where a python build is located I can only see python 2.7, as shown below.
[root@host lib]# pwd
/data/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/build/env/lib
[root@host lib]# ll
total 4
drwxr-sr-x. 4 root root 4096 Nov 3 2023 python2.7
[root@host lib]#
Below is what the cm-agent/bin directory contents look like.
[root@host bin]# pwd
/data/cloudera/cm-agent/bin
[root@host bin]# ll
total 128
-rw-r--r--. 1 cloudera-scm cloudera-scm 2155 Aug 9 12:32 activate
-rw-r--r--. 1 cloudera-scm cloudera-scm 1097 Aug 9 12:32 activate.csh
-rw-r--r--. 1 cloudera-scm cloudera-scm 2251 Aug 9 12:32 activate.fish
-rw-r--r--. 1 cloudera-scm cloudera-scm 1137 Aug 9 12:32 activate_this.py
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 8443 Aug 9 12:32 avro
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 265 Aug 9 12:32 calc-prorate
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 230 Aug 9 12:32 certmanager
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 227 Aug 9 12:32 cheroot
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 231 Aug 9 12:32 cherryd
-rwxr--r--. 1 cloudera-scm cloudera-scm 7398 Aug 9 12:32 cloudera_agent_post_upgrade_checker.sh
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 224 Aug 9 12:32 cm
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 236 Aug 9 12:32 cmf-agent
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 239 Aug 9 12:32 cmf-listener
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 228 Aug 9 12:32 cmf-redactor
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 229 Aug 9 12:32 distro
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 235 Aug 9 12:32 echo_supervisord_conf
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 228 Aug 9 12:32 flooc
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 228 Aug 9 12:32 flood
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 230 Aug 9 12:32 mako-render
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 261 Aug 9 12:32 normalizer
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 235 Aug 9 12:32 pidproxy
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 238 Aug 9 12:32 pip
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 238 Aug 9 12:32 pip3
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 238 Aug 9 12:32 pip3.8
lrwxrwxrwx. 1 cloudera-scm cloudera-scm 9 Sep 18 20:04 python -> python3.8
lrwxrwxrwx. 1 cloudera-scm cloudera-scm 9 Sep 18 20:04 python3 -> python3.8
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 3159 Aug 9 12:32 python3.8
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 2414 Aug 9 12:31 python-config
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 240 Aug 9 12:32 supervisorctl
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 238 Aug 9 12:32 supervisord
-rwxr-xr-x. 1 cloudera-scm cloudera-scm 229 Aug 9 12:32 wheel
[root@host bin]#
According to Cloudera documentation, CDP 7.1.7 SP2 is compatible with Cloudera Manager 7.11.3. I'm not sure why this error.
I need the community support on this.
Created 10-21-2024 01:45 AM
It seems like this issue is a special case due to how we have set up our environment. I have received a script from Cloudera support team. Our hue service is currently running fine. However, the script is only temporary. Once we upgraded, we have to use the original script.
Below is the major change they've made in the hue.sh script.
export PYTHONPATH=/opt/cloudera/parcels/CDH/lib/hue/build/env/lib64/python2.7/site-packages
echo "print env 3st"
env;
Created 10-18-2024 09:24 AM
Bellow is the stderr log.
[18/Oct/2024 17:20:58 +0100] 22008 MainThread redactor INFO Started launcher: /opt/cloudera/cm-agent/service/hue/hue.sh runcpserver
[18/Oct/2024 17:20:58 +0100] 22008 MainThread redactor INFO Re-exec watcher: /opt/cloudera/cm-agent/bin/cm proc_watcher 22039
[18/Oct/2024 17:20:58 +0100] 22040 MainThread redactor INFO Re-exec redactor: /opt/cloudera/cm-agent/bin/cm redactor --fds 3 5
[18/Oct/2024 17:20:58 +0100] 22040 MainThread redactor INFO Started redactor
+ date
+ date
Fri 18 Oct 17:20:58 BST 2024
++ dirname /opt/cloudera/cm-agent/service/hue/hue.sh
+ cloudera_config=/opt/cloudera/cm-agent/service/hue
++ cd /opt/cloudera/cm-agent/service/hue/../common
++ pwd
+ cloudera_config=/opt/cloudera/cm-agent/service/common
+ . /opt/cloudera/cm-agent/service/common/cloudera-config.sh
++ : /opt/cloudera/cm
++ export CLOUDERA_DIR
++ set -x
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/meta/cdh_env.sh ']'
+ OLD_IFS='
'
+ IFS=:
+ SCRIPT_ARRAY=($SCM_DEFINES_SCRIPTS)
+ DIRNAME_ARRAY=($PARCEL_DIRNAMES)
+ IFS='
'
+ COUNT=1
++ seq 1 1
+ for i in '`seq 1 $COUNT`'
+ SCRIPT=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-7.1.7-1.cdh7.1.7.p3013.57035125
+ . /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-7.1.7-1.cdh7.1.7.p3013.57035125
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-hdfs
++ export CDH_OZONE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-ozone
++ CDH_OZONE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-ozone
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase
++ export CDH_HBASE_FILESYSTEM_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase_filesystem
++ CDH_HBASE_FILESYSTEM_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase_filesystem
++ export CDH_HBASE_CONNECTORS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase_connectors
++ CDH_HBASE_CONNECTORS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase_connectors
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/zookeeper
++ export CDH_ZEPPELIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/zeppelin
++ CDH_ZEPPELIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/zeppelin
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive-hcatalog
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/sentry
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-kms
++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/parquet
++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/parquet
++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/avro
++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/avro
++ export CDH_KAFKA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/kafka
++ CDH_KAFKA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/kafka
++ export CDH_SCHEMA_REGISTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/schemaregistry
++ CDH_SCHEMA_REGISTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/schemaregistry
++ export CDH_STREAMS_MESSAGING_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/streams_messaging_manager
++ CDH_STREAMS_MESSAGING_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/streams_messaging_manager
++ export CDH_STREAMS_MESSAGING_MANAGER_UI_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/streams_messaging_manager_ui
++ CDH_STREAMS_MESSAGING_MANAGER_UI_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/streams_messaging_manager_ui
++ export CDH_STREAMS_REPLICATION_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/streams_replication_manager
++ CDH_STREAMS_REPLICATION_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/streams_replication_manager
++ export CDH_CRUISE_CONTROL_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/cruise_control
++ CDH_CRUISE_CONTROL_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/cruise_control
++ export CDH_KNOX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/knox
++ CDH_KNOX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/knox
++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/kudu
++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/kudu
++ export CDH_RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-admin
++ CDH_RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-admin
++ export CDH_RANGER_TAGSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-tagsync
++ CDH_RANGER_TAGSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-tagsync
++ export CDH_RANGER_USERSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-usersync
++ CDH_RANGER_USERSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-usersync
++ export CDH_RANGER_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-kms
++ CDH_RANGER_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-kms
++ export CDH_RANGER_RAZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-raz
++ CDH_RANGER_RAZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-raz
++ export CDH_RANGER_RMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-rms
++ CDH_RANGER_RMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-rms
++ export CDH_ATLAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/atlas
++ CDH_ATLAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/atlas
++ export CDH_TEZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/tez
++ CDH_TEZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/tez
++ export CDH_PHOENIX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/phoenix
++ CDH_PHOENIX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/phoenix
++ export CDH_PHOENIX_QUERYSERVER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/phoenix_queryserver
++ CDH_PHOENIX_QUERYSERVER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/phoenix_queryserver
++ export DAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/data_analytics_studio
++ DAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/data_analytics_studio
++ export QUEUEMANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/queuemanager
++ QUEUEMANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/queuemanager
++ export CDH_RANGER_HBASE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-hbase-plugin
++ CDH_RANGER_HBASE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-hbase-plugin
++ export CDH_RANGER_HIVE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-hive-plugin
++ CDH_RANGER_HIVE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-hive-plugin
++ export CDH_RANGER_ATLAS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-atlas-plugin
++ CDH_RANGER_ATLAS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-atlas-plugin
++ export CDH_RANGER_SOLR_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-solr-plugin
++ CDH_RANGER_SOLR_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-solr-plugin
++ export CDH_RANGER_HDFS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-hdfs-plugin
++ CDH_RANGER_HDFS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-hdfs-plugin
++ export CDH_RANGER_KNOX_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-knox-plugin
++ CDH_RANGER_KNOX_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-knox-plugin
++ export CDH_RANGER_YARN_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-yarn-plugin
++ CDH_RANGER_YARN_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-yarn-plugin
++ export CDH_RANGER_OZONE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-ozone-plugin
++ CDH_RANGER_OZONE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-ozone-plugin
++ export CDH_RANGER_KAFKA_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-kafka-plugin
++ CDH_RANGER_KAFKA_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-kafka-plugin
+ locate_cdh_java_home
+ '[' -z /usr/java/default ']'
+ verify_java_home
+ '[' -z /usr/java/default ']'
+ echo JAVA_HOME=/usr/java/default
+ export HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER
+ HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER
+ export HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf
+ HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf
+ '[' -e /usr/share/oracle/instantclient/lib ']'
+ export 'LD_LIBRARY_PATH=/usr/share/oracle/instantclient/lib:$LD_LIBRARY_PATH:$ORACLE_HOME/lib:/data/cloudera/cm-agent/lib'
+ LD_LIBRARY_PATH='/usr/share/oracle/instantclient/lib:$LD_LIBRARY_PATH:$ORACLE_HOME/lib:/data/cloudera/cm-agent/lib'
+ [[ -d /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/yarn-conf ]]
+ [[ -d /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf ]]
+ chmod -R a+r /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf
+ export HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hive-conf
+ HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hive-conf
+ chmod -R a+r /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hive-conf
+ export HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
+ HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
+ export HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive
+ HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive
+ export HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hue
+ HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hue
+ export HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase
+ HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase
+ export PIG_HOME=/usr/lib/pig
+ PIG_HOME=/usr/lib/pig
+ export PIG_SCRIPT_HOME=/usr/lib/pig/../..
+ PIG_SCRIPT_HOME=/usr/lib/pig/../..
+ echo HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hue
+ echo HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER
+ echo HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
+ echo HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf
+ echo HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive
+ echo HIVE_DEFAULT_XML=/etc/hive/conf.dist/hive-default.xml
+ echo HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hive-conf
+ echo HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase
+ echo PIG_HOME=/usr/lib/pig
+ HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf
+ [[ -d /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf ]]
+ chmod -R a+r /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf
+ echo HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf
+ SQOOP2_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf
+ [[ -d /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf ]]
+ echo SQOOP2_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf
+ export PYTHON_EGG_CACHE=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/.python-eggs
+ PYTHON_EGG_CACHE=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/.python-eggs
+ perl -pi -e 's#\{\{JAVA_HOME}}#/usr/java/default#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HBASE_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{PIG_SCRIPT_HOME}}#/usr/lib/pig/../..#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HADOOP_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HUE_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ [[ -d /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf ]]
+ perl -pi -e 's#\{\{HBASE_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HBASE_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf/hbase-env.sh
+ [[ -d /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf ]]
+ perl -pi -e 's#\{\{SQOOP2_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{SQOOP2_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf/sqoop.properties
+ '[' 7 -ge 4 ']'
+ perl -pi -e 's#\{\{HADOOP_HDFS_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-hdfs#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HADOOP_MR1_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-0.20-mapreduce#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HADOOP_MR2_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-mapreduce#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HADOOP_BIN}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop/bin/hadoop#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ SQOOP2_SCRIPT_HOME=/usr/lib/sqoop2/../..
+ perl -pi -e 's#\{\{SQOOP2_SCRIPT_HOME}}#/usr/lib/sqoop2/../..#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{CDH_MR1_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-0.20-mapreduce#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/core-site.xml /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/hadoop-env.sh /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/log4j.properties /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/ssl-client.xml
+ perl -pi -e 's#\{\{CDH_MR2_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-mapreduce#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/core-site.xml /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/hadoop-env.sh /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/log4j.properties /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/ssl-client.xml
+ perl -pi -e 's#\{\{CDH_HADOOP_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/core-site.xml /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/hadoop-env.sh /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/log4j.properties /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/ssl-client.xml
+ replace_conf_dir
+ echo CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER
+ echo CMF_CONF_DIR=
+ EXCLUDE_CMF_FILES=('cloudera-config.sh' 'hue.sh' 'impala.sh' 'sqoop.sh' 'supervisor.conf' 'config.zip' 'proc.json' '*.log' '*.keytab' '*jceks' '*bcfks' 'supervisor_status')
++ printf '! -name %s ' cloudera-config.sh hue.sh impala.sh sqoop.sh supervisor.conf config.zip proc.json '*.log' hue.keytab creds.localjceks '*bcfks' supervisor_status
+ find /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER -type f '!' -path '/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/logs/*' '!' -name cloudera-config.sh '!' -name hue.sh '!' -name impala.sh '!' -name sqoop.sh '!' -name supervisor.conf '!' -name config.zip '!' -name proc.json '!' -name '*.log' '!' -name hue.keytab '!' -name creds.localjceks '!' -name '*bcfks' '!' -name supervisor_status -exec perl -pi -e 's#\{\{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER#g' '{}' ';'
+ make_scripts_executable
+ find /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER -regex '.*\.\(py\|sh\)$' -exec chmod u+x '{}' ';'
+ python27_required=0
++ head -1 /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hue/build/env/bin/hue
++ grep -o python2
+ '[' '' == python2 ']'
+ python27_required=0
+ [[ python27_version_check == \r\u\n\c\p\s\e\r\v\e\r ]]
+ [[ python38_version_check == \r\u\n\c\p\s\e\r\v\e\r ]]
+ [[ python39_version_check == \r\u\n\c\p\s\e\r\v\e\r ]]
+ [[ python310_version_check == \r\u\n\c\p\s\e\r\v\e\r ]]
+ '[' -n 7 ']'
+ '[' 7 -ge 7 ']'
+ '[' 0 -eq 0 ']'
++ detect_distro
++ local RHEL_FILE=/etc/redhat-release
++ local RELEASE_FILE=/etc/os-release
++ local DISTRO=
++ [[ -f /etc/redhat-release ]]
+++ grep -Eo 'Red Hat Enterprise Linux release [0-9.]+' /etc/redhat-release
++ local release_line=
++ [[ 0 -eq 0 ]]
+++ echo ''
+++ awk '{print $6}'
++ local version_string=
++ RHEL_VERSION=
++ DISTRO=redhat
++ [[ -f /etc/os-release ]]
+++ grep -E NAME= /etc/os-release
++ local 'name_line=NAME="Oracle Linux Server"
PRETTY_NAME="Oracle Linux Server 7.9"
CPE_NAME="cpe:/o:oracle:linux:7:9:server"'
++ [[ 0 -eq 0 ]]
++ [[ NAME="Oracle Linux Server"
PRETTY_NAME="Oracle Linux Server 7.9"
CPE_NAME="cpe:/o:oracle:linux:7:9:server" == *\U\b\u\n\t\u* ]]
++ [[ NAME="Oracle Linux Server"
PRETTY_NAME="Oracle Linux Server 7.9"
CPE_NAME="cpe:/o:oracle:linux:7:9:server" == *\S\L\E\S* ]]
++ echo redhat
+ DISTRO=redhat
+ [[ ! -z redhat ]]
+ [[ redhat == \r\e\d\h\a\t\9 ]]
+ [[ ! -z redhat ]]
+ [[ redhat == \u\b\u\n\t\u\2\2 ]]
+ [[ redhat == \s\l\e\s\1\5 ]]
+ python38_version_check exit_yes
+ exit_req=exit_yes
+ python38_exists=0
+ '[' -z x ']'
++ IFS=:
++ for p in '$PATH'
++ echo /data/cloudera/cm-agent/bin
++ for p in '$PATH'
++ echo /usr/local/sbin
++ for p in '$PATH'
++ echo /usr/local/bin
++ for p in '$PATH'
++ echo /usr/sbin
++ for p in '$PATH'
++ echo /usr/bin
+ list='/data/cloudera/cm-agent/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin'
++ set_env_var python3.8 PATH '/data/cloudera/cm-agent/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin'
++ target=python3.8
++ shift
++ setvar=PATH
++ shift
++ search=("$@")
++ targetpath=
++ for spath in '${search[@]}'
++ tpath=
++ echo xpython3.8
++ grep '*'
++ echo x/data/cloudera/cm-agent/bin
++ grep '*'
++ '[' -e /data/cloudera/cm-agent/bin/python3.8 ']'
++ tpath=/data/cloudera/cm-agent/bin/python3.8
++ '[' /data/cloudera/cm-agent/bin/python3.8 '!=' '' ']'
++ targetpath=/data/cloudera/cm-agent/bin/python3.8
++ set_path PATH /data/cloudera/cm-agent/bin/python3.8
+++ dirname /data/cloudera/cm-agent/bin/python3.8
++ etpath=/data/cloudera/cm-agent/bin
++ '[' PATH == PYTHONPATH ']'
++ '[' PATH == LD_LIBRARY_PATH ']'
++ '[' PATH == PATH ']'
++ '[' -z x ']'
++ export PATH=/data/cloudera/cm-agent/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/data/cloudera/cm-agent/bin
++ PATH=/data/cloudera/cm-agent/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/data/cloudera/cm-agent/bin
++ break
++ echo /data/cloudera/cm-agent/bin/python3.8
+ pybin=/data/cloudera/cm-agent/bin/python3.8
+ '[' -z x ']'
+ [[ /data/cloudera/cm-agent/bin/python3.8 == \/\o\p\t\/\r\h\/\r\h\-\p\y\t\h\o\n\3\8* ]]
++ run_python /data/cloudera/cm-agent/bin/python3.8 3.8
++ python_version=3.8
++ /data/cloudera/cm-agent/bin/python3.8 --version
++ '[' '!' 0 -eq 0 ']'
+++ /data/cloudera/cm-agent/bin/python3.8 --version
+++ grep Python
+++ cut -d. -f1,2
+++ cut '-d ' -f2
++ version_output=2.7
++ [[ 2.7 == \3\.\8 ]]
+ [[ '' == \3\.\8 ]]
+ '[' exit_yes == exit_yes ']'
+ '[' 0 -eq 0 ']'
+ echo 'ERROR: Unable to find python 3.8 installation'
Created 10-19-2024 01:23 AM
Below is the stderr log.
[18/Oct/2024 17:20:58 +0100] 22008 MainThread redactor INFO Started launcher: /opt/cloudera/cm-agent/service/hue/hue.sh runcpserver
[18/Oct/2024 17:20:58 +0100] 22008 MainThread redactor INFO Re-exec watcher: /opt/cloudera/cm-agent/bin/cm proc_watcher 22039
[18/Oct/2024 17:20:58 +0100] 22040 MainThread redactor INFO Re-exec redactor: /opt/cloudera/cm-agent/bin/cm redactor --fds 3 5
[18/Oct/2024 17:20:58 +0100] 22040 MainThread redactor INFO Started redactor
+ date
+ date
Fri 18 Oct 17:20:58 BST 2024
++ dirname /opt/cloudera/cm-agent/service/hue/hue.sh
+ cloudera_config=/opt/cloudera/cm-agent/service/hue
++ cd /opt/cloudera/cm-agent/service/hue/../common
++ pwd
+ cloudera_config=/opt/cloudera/cm-agent/service/common
+ . /opt/cloudera/cm-agent/service/common/cloudera-config.sh
++ : /opt/cloudera/cm
++ export CLOUDERA_DIR
++ set -x
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/meta/cdh_env.sh ']'
+ OLD_IFS='
'
+ IFS=:
+ SCRIPT_ARRAY=($SCM_DEFINES_SCRIPTS)
+ DIRNAME_ARRAY=($PARCEL_DIRNAMES)
+ IFS='
'
+ COUNT=1
++ seq 1 1
+ for i in '`seq 1 $COUNT`'
+ SCRIPT=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-7.1.7-1.cdh7.1.7.p3013.57035125
+ . /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-7.1.7-1.cdh7.1.7.p3013.57035125
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-hdfs
++ export CDH_OZONE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-ozone
++ CDH_OZONE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-ozone
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase
++ export CDH_HBASE_FILESYSTEM_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase_filesystem
++ CDH_HBASE_FILESYSTEM_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase_filesystem
++ export CDH_HBASE_CONNECTORS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase_connectors
++ CDH_HBASE_CONNECTORS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase_connectors
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/zookeeper
++ export CDH_ZEPPELIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/zeppelin
++ CDH_ZEPPELIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/zeppelin
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive-hcatalog
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/sentry
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-kms
++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/parquet
++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/parquet
++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/avro
++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/avro
++ export CDH_KAFKA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/kafka
++ CDH_KAFKA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/kafka
++ export CDH_SCHEMA_REGISTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/schemaregistry
++ CDH_SCHEMA_REGISTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/schemaregistry
++ export CDH_STREAMS_MESSAGING_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/streams_messaging_manager
++ CDH_STREAMS_MESSAGING_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/streams_messaging_manager
++ export CDH_STREAMS_MESSAGING_MANAGER_UI_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/streams_messaging_manager_ui
++ CDH_STREAMS_MESSAGING_MANAGER_UI_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/streams_messaging_manager_ui
++ export CDH_STREAMS_REPLICATION_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/streams_replication_manager
++ CDH_STREAMS_REPLICATION_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/streams_replication_manager
++ export CDH_CRUISE_CONTROL_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/cruise_control
++ CDH_CRUISE_CONTROL_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/cruise_control
++ export CDH_KNOX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/knox
++ CDH_KNOX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/knox
++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/kudu
++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/kudu
++ export CDH_RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-admin
++ CDH_RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-admin
++ export CDH_RANGER_TAGSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-tagsync
++ CDH_RANGER_TAGSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-tagsync
++ export CDH_RANGER_USERSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-usersync
++ CDH_RANGER_USERSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-usersync
++ export CDH_RANGER_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-kms
++ CDH_RANGER_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-kms
++ export CDH_RANGER_RAZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-raz
++ CDH_RANGER_RAZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-raz
++ export CDH_RANGER_RMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-rms
++ CDH_RANGER_RMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-rms
++ export CDH_ATLAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/atlas
++ CDH_ATLAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/atlas
++ export CDH_TEZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/tez
++ CDH_TEZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/tez
++ export CDH_PHOENIX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/phoenix
++ CDH_PHOENIX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/phoenix
++ export CDH_PHOENIX_QUERYSERVER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/phoenix_queryserver
++ CDH_PHOENIX_QUERYSERVER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/phoenix_queryserver
++ export DAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/data_analytics_studio
++ DAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/data_analytics_studio
++ export QUEUEMANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/queuemanager
++ QUEUEMANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/queuemanager
++ export CDH_RANGER_HBASE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-hbase-plugin
++ CDH_RANGER_HBASE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-hbase-plugin
++ export CDH_RANGER_HIVE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-hive-plugin
++ CDH_RANGER_HIVE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-hive-plugin
++ export CDH_RANGER_ATLAS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-atlas-plugin
++ CDH_RANGER_ATLAS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-atlas-plugin
++ export CDH_RANGER_SOLR_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-solr-plugin
++ CDH_RANGER_SOLR_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-solr-plugin
++ export CDH_RANGER_HDFS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-hdfs-plugin
++ CDH_RANGER_HDFS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-hdfs-plugin
++ export CDH_RANGER_KNOX_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-knox-plugin
++ CDH_RANGER_KNOX_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-knox-plugin
++ export CDH_RANGER_YARN_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-yarn-plugin
++ CDH_RANGER_YARN_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-yarn-plugin
++ export CDH_RANGER_OZONE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-ozone-plugin
++ CDH_RANGER_OZONE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-ozone-plugin
++ export CDH_RANGER_KAFKA_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-kafka-plugin
++ CDH_RANGER_KAFKA_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/ranger-kafka-plugin
+ locate_cdh_java_home
+ '[' -z /usr/java/default ']'
+ verify_java_home
+ '[' -z /usr/java/default ']'
+ echo JAVA_HOME=/usr/java/default
+ export HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER
+ HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER
+ export HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf
+ HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf
+ '[' -e /usr/share/oracle/instantclient/lib ']'
+ export 'LD_LIBRARY_PATH=/usr/share/oracle/instantclient/lib:$LD_LIBRARY_PATH:$ORACLE_HOME/lib:/data/cloudera/cm-agent/lib'
+ LD_LIBRARY_PATH='/usr/share/oracle/instantclient/lib:$LD_LIBRARY_PATH:$ORACLE_HOME/lib:/data/cloudera/cm-agent/lib'
+ [[ -d /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/yarn-conf ]]
+ [[ -d /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf ]]
+ chmod -R a+r /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf
+ export HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hive-conf
+ HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hive-conf
+ chmod -R a+r /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hive-conf
+ export HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
+ HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
+ export HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive
+ HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive
+ export HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hue
+ HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hue
+ export HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase
+ HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase
+ export PIG_HOME=/usr/lib/pig
+ PIG_HOME=/usr/lib/pig
+ export PIG_SCRIPT_HOME=/usr/lib/pig/../..
+ PIG_SCRIPT_HOME=/usr/lib/pig/../..
+ echo HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hue
+ echo HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER
+ echo HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop
+ echo HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf
+ echo HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hive
+ echo HIVE_DEFAULT_XML=/etc/hive/conf.dist/hive-default.xml
+ echo HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hive-conf
+ echo HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase
+ echo PIG_HOME=/usr/lib/pig
+ HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf
+ [[ -d /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf ]]
+ chmod -R a+r /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf
+ echo HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf
+ SQOOP2_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf
+ [[ -d /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf ]]
+ echo SQOOP2_CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf
+ export PYTHON_EGG_CACHE=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/.python-eggs
+ PYTHON_EGG_CACHE=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/.python-eggs
+ perl -pi -e 's#\{\{JAVA_HOME}}#/usr/java/default#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HBASE_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hbase#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{PIG_SCRIPT_HOME}}#/usr/lib/pig/../..#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HADOOP_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HUE_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ [[ -d /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf ]]
+ perl -pi -e 's#\{\{HBASE_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HBASE_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hbase-conf/hbase-env.sh
+ [[ -d /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf ]]
+ perl -pi -e 's#\{\{SQOOP2_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{SQOOP2_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/sqoop2-conf/sqoop.properties
+ '[' 7 -ge 4 ']'
+ perl -pi -e 's#\{\{HADOOP_HDFS_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-hdfs#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HADOOP_MR1_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-0.20-mapreduce#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HADOOP_MR2_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-mapreduce#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{HADOOP_BIN}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop/bin/hadoop#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ SQOOP2_SCRIPT_HOME=/usr/lib/sqoop2/../..
+ perl -pi -e 's#\{\{SQOOP2_SCRIPT_HOME}}#/usr/lib/sqoop2/../..#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve.ini /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hue_safety_valve_server.ini
+ perl -pi -e 's#\{\{CDH_MR1_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-0.20-mapreduce#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/core-site.xml /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/hadoop-env.sh /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/log4j.properties /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/ssl-client.xml
+ perl -pi -e 's#\{\{CDH_MR2_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop-mapreduce#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/core-site.xml /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/hadoop-env.sh /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/log4j.properties /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/ssl-client.xml
+ perl -pi -e 's#\{\{CDH_HADOOP_HOME}}#/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hadoop#g' /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/core-site.xml /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/hadoop-env.sh /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/log4j.properties /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/hadoop-conf/ssl-client.xml
+ replace_conf_dir
+ echo CONF_DIR=/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER
+ echo CMF_CONF_DIR=
+ EXCLUDE_CMF_FILES=('cloudera-config.sh' 'hue.sh' 'impala.sh' 'sqoop.sh' 'supervisor.conf' 'config.zip' 'proc.json' '*.log' '*.keytab' '*jceks' '*bcfks' 'supervisor_status')
++ printf '! -name %s ' cloudera-config.sh hue.sh impala.sh sqoop.sh supervisor.conf config.zip proc.json '*.log' hue.keytab creds.localjceks '*bcfks' supervisor_status
+ find /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER -type f '!' -path '/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER/logs/*' '!' -name cloudera-config.sh '!' -name hue.sh '!' -name impala.sh '!' -name sqoop.sh '!' -name supervisor.conf '!' -name config.zip '!' -name proc.json '!' -name '*.log' '!' -name hue.keytab '!' -name creds.localjceks '!' -name '*bcfks' '!' -name supervisor_status -exec perl -pi -e 's#\{\{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER#g' '{}' ';'
+ make_scripts_executable
+ find /var/run/cloudera-scm-agent/process/1546482910-hue-HUE_SERVER -regex '.*\.\(py\|sh\)$' -exec chmod u+x '{}' ';'
+ python27_required=0
++ head -1 /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p3013.57035125/lib/hue/build/env/bin/hue
++ grep -o python2
+ '[' '' == python2 ']'
+ python27_required=0
+ [[ python27_version_check == \r\u\n\c\p\s\e\r\v\e\r ]]
+ [[ python38_version_check == \r\u\n\c\p\s\e\r\v\e\r ]]
+ [[ python39_version_check == \r\u\n\c\p\s\e\r\v\e\r ]]
+ [[ python310_version_check == \r\u\n\c\p\s\e\r\v\e\r ]]
+ '[' -n 7 ']'
+ '[' 7 -ge 7 ']'
+ '[' 0 -eq 0 ']'
++ detect_distro
++ local RHEL_FILE=/etc/redhat-release
++ local RELEASE_FILE=/etc/os-release
++ local DISTRO=
++ [[ -f /etc/redhat-release ]]
+++ grep -Eo 'Red Hat Enterprise Linux release [0-9.]+' /etc/redhat-release
++ local release_line=
++ [[ 0 -eq 0 ]]
+++ echo ''
+++ awk '{print $6}'
++ local version_string=
++ RHEL_VERSION=
++ DISTRO=redhat
++ [[ -f /etc/os-release ]]
+++ grep -E NAME= /etc/os-release
++ local 'name_line=NAME="Oracle Linux Server"
PRETTY_NAME="Oracle Linux Server 7.9"
CPE_NAME="cpe:/o:oracle:linux:7:9:server"'
++ [[ 0 -eq 0 ]]
++ [[ NAME="Oracle Linux Server"
PRETTY_NAME="Oracle Linux Server 7.9"
CPE_NAME="cpe:/o:oracle:linux:7:9:server" == *\U\b\u\n\t\u* ]]
++ [[ NAME="Oracle Linux Server"
PRETTY_NAME="Oracle Linux Server 7.9"
CPE_NAME="cpe:/o:oracle:linux:7:9:server" == *\S\L\E\S* ]]
++ echo redhat
+ DISTRO=redhat
+ [[ ! -z redhat ]]
+ [[ redhat == \r\e\d\h\a\t\9 ]]
+ [[ ! -z redhat ]]
+ [[ redhat == \u\b\u\n\t\u\2\2 ]]
+ [[ redhat == \s\l\e\s\1\5 ]]
+ python38_version_check exit_yes
+ exit_req=exit_yes
+ python38_exists=0
+ '[' -z x ']'
++ IFS=:
++ for p in '$PATH'
++ echo /data/cloudera/cm-agent/bin
++ for p in '$PATH'
++ echo /usr/local/sbin
++ for p in '$PATH'
++ echo /usr/local/bin
++ for p in '$PATH'
++ echo /usr/sbin
++ for p in '$PATH'
++ echo /usr/bin
+ list='/data/cloudera/cm-agent/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin'
++ set_env_var python3.8 PATH '/data/cloudera/cm-agent/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin'
++ target=python3.8
++ shift
++ setvar=PATH
++ shift
++ search=("$@")
++ targetpath=
++ for spath in '${search[@]}'
++ tpath=
++ echo xpython3.8
++ grep '*'
++ echo x/data/cloudera/cm-agent/bin
++ grep '*'
++ '[' -e /data/cloudera/cm-agent/bin/python3.8 ']'
++ tpath=/data/cloudera/cm-agent/bin/python3.8
++ '[' /data/cloudera/cm-agent/bin/python3.8 '!=' '' ']'
++ targetpath=/data/cloudera/cm-agent/bin/python3.8
++ set_path PATH /data/cloudera/cm-agent/bin/python3.8
+++ dirname /data/cloudera/cm-agent/bin/python3.8
++ etpath=/data/cloudera/cm-agent/bin
++ '[' PATH == PYTHONPATH ']'
++ '[' PATH == LD_LIBRARY_PATH ']'
++ '[' PATH == PATH ']'
++ '[' -z x ']'
++ export PATH=/data/cloudera/cm-agent/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/data/cloudera/cm-agent/bin
++ PATH=/data/cloudera/cm-agent/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/data/cloudera/cm-agent/bin
++ break
++ echo /data/cloudera/cm-agent/bin/python3.8
+ pybin=/data/cloudera/cm-agent/bin/python3.8
+ '[' -z x ']'
+ [[ /data/cloudera/cm-agent/bin/python3.8 == \/\o\p\t\/\r\h\/\r\h\-\p\y\t\h\o\n\3\8* ]]
++ run_python /data/cloudera/cm-agent/bin/python3.8 3.8
++ python_version=3.8
++ /data/cloudera/cm-agent/bin/python3.8 --version
++ '[' '!' 0 -eq 0 ']'
+++ /data/cloudera/cm-agent/bin/python3.8 --version
+++ grep Python
+++ cut -d. -f1,2
+++ cut '-d ' -f2
++ version_output=2.7
++ [[ 2.7 == \3\.\8 ]]
+ [[ '' == \3\.\8 ]]
+ '[' exit_yes == exit_yes ']'
+ '[' 0 -eq 0 ']'
+ echo 'ERROR: Unable to find python 3.8 installation'
Created 10-19-2024 02:13 AM
I have been trying to upload the full log but it keeps getting removed.
Created 10-21-2024 01:45 AM
It seems like this issue is a special case due to how we have set up our environment. I have received a script from Cloudera support team. Our hue service is currently running fine. However, the script is only temporary. Once we upgraded, we have to use the original script.
Below is the major change they've made in the hue.sh script.
export PYTHONPATH=/opt/cloudera/parcels/CDH/lib/hue/build/env/lib64/python2.7/site-packages
echo "print env 3st"
env;