HUE Load Balancer 启动失败

安装LoadBalancer服务的机器要安装mod_ssl,httpd

解决方案:

yum -y install mod_ssl

注意:安装前也要安装httpd服务,安装完成后记得查看是否启动

yum -y install httpd

 

 异常信息如下:

Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.

全部异常日志: 

+ date
+ date
Fri Sep 14 16:41:26 CST 2018
++ dirname /opt/cm-5.13.0/lib64/cmf/service/hue/httpd.sh
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/hue
++ cd /opt/cm-5.13.0/lib64/cmf/service/hue/../common
++ pwd
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/common
+ . /opt/cm-5.13.0/lib64/cmf/service/common/cloudera-config.sh
++ set -x
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/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-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
+ . /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ export CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ export CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ export CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ export TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
+ HTTPD_CANDIDATES=("/usr/sbin/httpd" "/usr/sbin/apache2" "/usr/sbin/httpd2")
+ HTTPD_MODULE_DIR_CANDIDATES=("/usr/lib64/httpd/modules" "/usr/lib/httpd/modules" "/usr/lib64/apache2/modules" "/usr/lib/apache2/modules" "/usr/lib64/apache2-prefork" "/usr/lib64/apache2")
+ '[' -z '' ']'
++ find_path /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/httpd2
++ for candidate in '$@'
++ '[' -e /usr/sbin/httpd ']'
++ echo /usr/sbin/httpd
++ return 0
+ CLOUDERA_HTTPD_EXECUTABLE_PATH=/usr/sbin/httpd
+ '[' 0 '!=' 0 ']'
+ '[' '!' -x /usr/sbin/httpd ']'
+ '[' -z '' ']'
++ find_path /usr/lib64/httpd/modules /usr/lib/httpd/modules /usr/lib64/apache2/modules /usr/lib/apache2/modules /usr/lib64/apache2-prefork /usr/lib64/apache2
++ for candidate in '$@'
++ '[' -e /usr/lib64/httpd/modules ']'
++ echo /usr/lib64/httpd/modules
++ return 0
+ CLOUDERA_HTTPD_MODULE_DIR=/usr/lib64/httpd/modules
+ '[' 0 '!=' 0 ']'
+ '[' '!' -d /usr/lib64/httpd/modules ']'
+ '[' -z /var/log/hue-httpd ']'
+ '[' '' = refresh ']'
+ export HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
+ HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
+ export CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ echo HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
+ echo CLOUDERA_HTTPD_EXECUTABLE_PATH=/usr/sbin/httpd
+ echo CLOUDERA_HTTPD_MODULE_DIR=/usr/lib64/httpd/modules
+ echo CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ echo CLOUDERA_HTTPD_LOG_DIR=/var/log/hue-httpd
+ echo CLOUDERA_HTTPD_USE_SSL=
+ perl -pi -e 's#{{HUE_HOME}}#/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ perl -pi -e 's#{{CLOUDERA_HTTPD_CONF_DIR}}#/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ perl -pi -e 's#{{CLOUDERA_HTTPD_LOG_DIR}}#/var/log/hue-httpd#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ perl -pi -e 's#{{CLOUDERA_HTTPD_MODULE_DIR}}#/usr/lib64/httpd/modules#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ replace_conf_dir
+ echo CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ echo CMF_CONF_DIR=/opt/cm-5.13.0/etc/cloudera-scm-agent
+ EXCLUDE_CMF_FILES=('cloudera-config.sh' 'httpfs.sh' 'hue.sh' 'impala.sh' 'sqoop.sh' 'supervisor.conf' 'config.zip' 'proc.json' '*.log' '*.keytab' '*jceks')
++ printf '! -name %s ' cloudera-config.sh httpfs.sh hue.sh impala.sh sqoop.sh supervisor.conf config.zip proc.json '*.log' '*.keytab' '*jceks'
+ find /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER -type f '!' -path '/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/logs/*' '!' -name cloudera-config.sh '!' -name httpfs.sh '!' -name hue.sh '!' -name impala.sh '!' -name sqoop.sh '!' -name supervisor.conf '!' -name config.zip '!' -name proc.json '!' -name '*.log' '!' -name '*.keytab' '!' -name '*jceks' -exec perl -pi -e 's#{{CMF_CONF_DIR}}#/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER#g' '{}' ';'
+ [[ ! -d /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/run ]]
+ mkdir -p /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/run
+ CLOUDERA_HTTPD_CONF=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf
+ CLOUDERA_HUE_CONF=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf
+ perl -pi -e 's#{{CLOUDERA_HTTPD_SSL_SCRIPT_DIR}}#/opt/cm-5.13.0/lib64/cmf/service/common#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf
+ /usr/sbin/httpd -f /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf -t
httpd: Syntax error on line 82 of /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf: Cannot load /usr/lib64/httpd/modules/mod_ssl.so into server: /usr/lib64/httpd/modules/mod_ssl.so: cannot open shared object file: No such file or directory
+ '[' 1 '!=' 0 ']'
+ echo '/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf is invalid'
/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf is invalid
+ exit 1
+ date
+ date
Fri Sep 14 16:41:27 CST 2018
++ dirname /opt/cm-5.13.0/lib64/cmf/service/hue/httpd.sh
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/hue
++ cd /opt/cm-5.13.0/lib64/cmf/service/hue/../common
++ pwd
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/common
+ . /opt/cm-5.13.0/lib64/cmf/service/common/cloudera-config.sh
++ set -x
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/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-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
+ . /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ export CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ export CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ export CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ export TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
+ HTTPD_CANDIDATES=("/usr/sbin/httpd" "/usr/sbin/apache2" "/usr/sbin/httpd2")
+ HTTPD_MODULE_DIR_CANDIDATES=("/usr/lib64/httpd/modules" "/usr/lib/httpd/modules" "/usr/lib64/apache2/modules" "/usr/lib/apache2/modules" "/usr/lib64/apache2-prefork" "/usr/lib64/apache2")
+ '[' -z '' ']'
++ find_path /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/httpd2
++ for candidate in '$@'
++ '[' -e /usr/sbin/httpd ']'
++ echo /usr/sbin/httpd
++ return 0
+ CLOUDERA_HTTPD_EXECUTABLE_PATH=/usr/sbin/httpd
+ '[' 0 '!=' 0 ']'
+ '[' '!' -x /usr/sbin/httpd ']'
+ '[' -z '' ']'
++ find_path /usr/lib64/httpd/modules /usr/lib/httpd/modules /usr/lib64/apache2/modules /usr/lib/apache2/modules /usr/lib64/apache2-prefork /usr/lib64/apache2
++ for candidate in '$@'
++ '[' -e /usr/lib64/httpd/modules ']'
++ echo /usr/lib64/httpd/modules
++ return 0
+ CLOUDERA_HTTPD_MODULE_DIR=/usr/lib64/httpd/modules
+ '[' 0 '!=' 0 ']'
+ '[' '!' -d /usr/lib64/httpd/modules ']'
+ '[' -z /var/log/hue-httpd ']'
+ '[' '' = refresh ']'
+ export HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
+ HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
+ export CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ echo HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
+ echo CLOUDERA_HTTPD_EXECUTABLE_PATH=/usr/sbin/httpd
+ echo CLOUDERA_HTTPD_MODULE_DIR=/usr/lib64/httpd/modules
+ echo CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ echo CLOUDERA_HTTPD_LOG_DIR=/var/log/hue-httpd
+ echo CLOUDERA_HTTPD_USE_SSL=
+ perl -pi -e 's#{{HUE_HOME}}#/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ perl -pi -e 's#{{CLOUDERA_HTTPD_CONF_DIR}}#/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ perl -pi -e 's#{{CLOUDERA_HTTPD_LOG_DIR}}#/var/log/hue-httpd#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ perl -pi -e 's#{{CLOUDERA_HTTPD_MODULE_DIR}}#/usr/lib64/httpd/modules#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ replace_conf_dir
+ echo CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ echo CMF_CONF_DIR=/opt/cm-5.13.0/etc/cloudera-scm-agent
+ EXCLUDE_CMF_FILES=('cloudera-config.sh' 'httpfs.sh' 'hue.sh' 'impala.sh' 'sqoop.sh' 'supervisor.conf' 'config.zip' 'proc.json' '*.log' '*.keytab' '*jceks')
++ printf '! -name %s ' cloudera-config.sh httpfs.sh hue.sh impala.sh sqoop.sh supervisor.conf config.zip proc.json '*.log' '*.keytab' '*jceks'
+ find /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER -type f '!' -path '/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/logs/*' '!' -name cloudera-config.sh '!' -name httpfs.sh '!' -name hue.sh '!' -name impala.sh '!' -name sqoop.sh '!' -name supervisor.conf '!' -name config.zip '!' -name proc.json '!' -name '*.log' '!' -name '*.keytab' '!' -name '*jceks' -exec perl -pi -e 's#{{CMF_CONF_DIR}}#/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER#g' '{}' ';'
+ [[ ! -d /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/run ]]
+ CLOUDERA_HTTPD_CONF=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf
+ CLOUDERA_HUE_CONF=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf
+ perl -pi -e 's#{{CLOUDERA_HTTPD_SSL_SCRIPT_DIR}}#/opt/cm-5.13.0/lib64/cmf/service/common#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf
+ /usr/sbin/httpd -f /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf -t
httpd: Syntax error on line 82 of /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf: Cannot load /usr/lib64/httpd/modules/mod_ssl.so into server: /usr/lib64/httpd/modules/mod_ssl.so: cannot open shared object file: No such file or directory
+ '[' 1 '!=' 0 ']'
+ echo '/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf is invalid'
/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf is invalid
+ exit 1
+ date
+ date
Fri Sep 14 16:41:29 CST 2018
++ dirname /opt/cm-5.13.0/lib64/cmf/service/hue/httpd.sh
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/hue
++ cd /opt/cm-5.13.0/lib64/cmf/service/hue/../common
++ pwd
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/common
+ . /opt/cm-5.13.0/lib64/cmf/service/common/cloudera-config.sh
++ set -x
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/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-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
+ . /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ export CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ export CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ export CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ export TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
+ HTTPD_CANDIDATES=("/usr/sbin/httpd" "/usr/sbin/apache2" "/usr/sbin/httpd2")
+ HTTPD_MODULE_DIR_CANDIDATES=("/usr/lib64/httpd/modules" "/usr/lib/httpd/modules" "/usr/lib64/apache2/modules" "/usr/lib/apache2/modules" "/usr/lib64/apache2-prefork" "/usr/lib64/apache2")
+ '[' -z '' ']'
++ find_path /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/httpd2
++ for candidate in '$@'
++ '[' -e /usr/sbin/httpd ']'
++ echo /usr/sbin/httpd
++ return 0
+ CLOUDERA_HTTPD_EXECUTABLE_PATH=/usr/sbin/httpd
+ '[' 0 '!=' 0 ']'
+ '[' '!' -x /usr/sbin/httpd ']'
+ '[' -z '' ']'
++ find_path /usr/lib64/httpd/modules /usr/lib/httpd/modules /usr/lib64/apache2/modules /usr/lib/apache2/modules /usr/lib64/apache2-prefork /usr/lib64/apache2
++ for candidate in '$@'
++ '[' -e /usr/lib64/httpd/modules ']'
++ echo /usr/lib64/httpd/modules
++ return 0
+ CLOUDERA_HTTPD_MODULE_DIR=/usr/lib64/httpd/modules
+ '[' 0 '!=' 0 ']'
+ '[' '!' -d /usr/lib64/httpd/modules ']'
+ '[' -z /var/log/hue-httpd ']'
+ '[' '' = refresh ']'
+ export HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
+ HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
+ export CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ echo HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
+ echo CLOUDERA_HTTPD_EXECUTABLE_PATH=/usr/sbin/httpd
+ echo CLOUDERA_HTTPD_MODULE_DIR=/usr/lib64/httpd/modules
+ echo CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ echo CLOUDERA_HTTPD_LOG_DIR=/var/log/hue-httpd
+ echo CLOUDERA_HTTPD_USE_SSL=
+ perl -pi -e 's#{{HUE_HOME}}#/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ perl -pi -e 's#{{CLOUDERA_HTTPD_CONF_DIR}}#/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ perl -pi -e 's#{{CLOUDERA_HTTPD_LOG_DIR}}#/var/log/hue-httpd#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ perl -pi -e 's#{{CLOUDERA_HTTPD_MODULE_DIR}}#/usr/lib64/httpd/modules#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ replace_conf_dir
+ echo CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ echo CMF_CONF_DIR=/opt/cm-5.13.0/etc/cloudera-scm-agent
+ EXCLUDE_CMF_FILES=('cloudera-config.sh' 'httpfs.sh' 'hue.sh' 'impala.sh' 'sqoop.sh' 'supervisor.conf' 'config.zip' 'proc.json' '*.log' '*.keytab' '*jceks')
++ printf '! -name %s ' cloudera-config.sh httpfs.sh hue.sh impala.sh sqoop.sh supervisor.conf config.zip proc.json '*.log' '*.keytab' '*jceks'
+ find /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER -type f '!' -path '/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/logs/*' '!' -name cloudera-config.sh '!' -name httpfs.sh '!' -name hue.sh '!' -name impala.sh '!' -name sqoop.sh '!' -name supervisor.conf '!' -name config.zip '!' -name proc.json '!' -name '*.log' '!' -name '*.keytab' '!' -name '*jceks' -exec perl -pi -e 's#{{CMF_CONF_DIR}}#/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER#g' '{}' ';'
+ [[ ! -d /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/run ]]
+ CLOUDERA_HTTPD_CONF=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf
+ CLOUDERA_HUE_CONF=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf
+ perl -pi -e 's#{{CLOUDERA_HTTPD_SSL_SCRIPT_DIR}}#/opt/cm-5.13.0/lib64/cmf/service/common#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf
+ /usr/sbin/httpd -f /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf -t
httpd: Syntax error on line 82 of /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf: Cannot load /usr/lib64/httpd/modules/mod_ssl.so into server: /usr/lib64/httpd/modules/mod_ssl.so: cannot open shared object file: No such file or directory
+ '[' 1 '!=' 0 ']'
+ echo '/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf is invalid'
/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf is invalid
+ exit 1
+ date
+ date
Fri Sep 14 16:41:32 CST 2018
++ dirname /opt/cm-5.13.0/lib64/cmf/service/hue/httpd.sh
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/hue
++ cd /opt/cm-5.13.0/lib64/cmf/service/hue/../common
++ pwd
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/common
+ . /opt/cm-5.13.0/lib64/cmf/service/common/cloudera-config.sh
++ set -x
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/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-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
+ . /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ export CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ export CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ export CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ export TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
+ HTTPD_CANDIDATES=("/usr/sbin/httpd" "/usr/sbin/apache2" "/usr/sbin/httpd2")
+ HTTPD_MODULE_DIR_CANDIDATES=("/usr/lib64/httpd/modules" "/usr/lib/httpd/modules" "/usr/lib64/apache2/modules" "/usr/lib/apache2/modules" "/usr/lib64/apache2-prefork" "/usr/lib64/apache2")
+ '[' -z '' ']'
++ find_path /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/httpd2
++ for candidate in '$@'
++ '[' -e /usr/sbin/httpd ']'
++ echo /usr/sbin/httpd
++ return 0
+ CLOUDERA_HTTPD_EXECUTABLE_PATH=/usr/sbin/httpd
+ '[' 0 '!=' 0 ']'
+ '[' '!' -x /usr/sbin/httpd ']'
+ '[' -z '' ']'
++ find_path /usr/lib64/httpd/modules /usr/lib/httpd/modules /usr/lib64/apache2/modules /usr/lib/apache2/modules /usr/lib64/apache2-prefork /usr/lib64/apache2
++ for candidate in '$@'
++ '[' -e /usr/lib64/httpd/modules ']'
++ echo /usr/lib64/httpd/modules
++ return 0
+ CLOUDERA_HTTPD_MODULE_DIR=/usr/lib64/httpd/modules
+ '[' 0 '!=' 0 ']'
+ '[' '!' -d /usr/lib64/httpd/modules ']'
+ '[' -z /var/log/hue-httpd ']'
+ '[' '' = refresh ']'
+ export HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
+ HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
+ export CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ echo HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
+ echo CLOUDERA_HTTPD_EXECUTABLE_PATH=/usr/sbin/httpd
+ echo CLOUDERA_HTTPD_MODULE_DIR=/usr/lib64/httpd/modules
+ echo CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ echo CLOUDERA_HTTPD_LOG_DIR=/var/log/hue-httpd
+ echo CLOUDERA_HTTPD_USE_SSL=
+ perl -pi -e 's#{{HUE_HOME}}#/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ perl -pi -e 's#{{CLOUDERA_HTTPD_CONF_DIR}}#/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ perl -pi -e 's#{{CLOUDERA_HTTPD_LOG_DIR}}#/var/log/hue-httpd#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ perl -pi -e 's#{{CLOUDERA_HTTPD_MODULE_DIR}}#/usr/lib64/httpd/modules#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf
Can't open /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/supervisor.conf: Permission denied, <> line 271.
+ replace_conf_dir
+ echo CONF_DIR=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER
+ echo CMF_CONF_DIR=/opt/cm-5.13.0/etc/cloudera-scm-agent
+ EXCLUDE_CMF_FILES=('cloudera-config.sh' 'httpfs.sh' 'hue.sh' 'impala.sh' 'sqoop.sh' 'supervisor.conf' 'config.zip' 'proc.json' '*.log' '*.keytab' '*jceks')
++ printf '! -name %s ' cloudera-config.sh httpfs.sh hue.sh impala.sh sqoop.sh supervisor.conf config.zip proc.json '*.log' '*.keytab' '*jceks'
+ find /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER -type f '!' -path '/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/logs/*' '!' -name cloudera-config.sh '!' -name httpfs.sh '!' -name hue.sh '!' -name impala.sh '!' -name sqoop.sh '!' -name supervisor.conf '!' -name config.zip '!' -name proc.json '!' -name '*.log' '!' -name '*.keytab' '!' -name '*jceks' -exec perl -pi -e 's#{{CMF_CONF_DIR}}#/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER#g' '{}' ';'
+ [[ ! -d /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/run ]]
+ CLOUDERA_HTTPD_CONF=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf
+ CLOUDERA_HUE_CONF=/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf
+ perl -pi -e 's#{{CLOUDERA_HTTPD_SSL_SCRIPT_DIR}}#/opt/cm-5.13.0/lib64/cmf/service/common#g' /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/hue.conf
+ /usr/sbin/httpd -f /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf -t
httpd: Syntax error on line 82 of /opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf: Cannot load /usr/lib64/httpd/modules/mod_ssl.so into server: /usr/lib64/httpd/modules/mod_ssl.so: cannot open shared object file: No such file or directory
+ '[' 1 '!=' 0 ']'
+ echo '/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf is invalid'
/opt/cm-5.13.0/run/cloudera-scm-agent/process/601-hue-HUE_LOAD_BALANCER/httpd.conf is invalid
+ exit 1

未安装httpd报错如下: 

+ date
+ date
Fri Sep 14 16:51:33 CST 2018
++ dirname /opt/cm-5.13.0/lib64/cmf/service/hue/httpd.sh
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/hue
++ cd /opt/cm-5.13.0/lib64/cmf/service/hue/../common
++ pwd
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/common
+ . /opt/cm-5.13.0/lib64/cmf/service/common/cloudera-config.sh
++ set -x
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/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-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
+ . /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ export CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ export CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ export CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ export TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
+ HTTPD_CANDIDATES=("/usr/sbin/httpd" "/usr/sbin/apache2" "/usr/sbin/httpd2")
+ HTTPD_MODULE_DIR_CANDIDATES=("/usr/lib64/httpd/modules" "/usr/lib/httpd/modules" "/usr/lib64/apache2/modules" "/usr/lib/apache2/modules" "/usr/lib64/apache2-prefork" "/usr/lib64/apache2")
+ '[' -z '' ']'
++ find_path /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/httpd2
++ for candidate in '$@'
++ '[' -e /usr/sbin/httpd ']'
++ for candidate in '$@'
++ '[' -e /usr/sbin/apache2 ']'
++ for candidate in '$@'
++ '[' -e /usr/sbin/httpd2 ']'
++ return 1
+ CLOUDERA_HTTPD_EXECUTABLE_PATH=
+ '[' 1 '!=' 0 ']'
+ echo 'Failed to find the Apache HTTPD executable.'
Failed to find the Apache HTTPD executable.
+ echo 'Tried /usr/sbin/httpd' /usr/sbin/apache2 /usr/sbin/httpd2
Tried /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/httpd2
+ echo 'Please confirm that Apache HTTPD is properly installed on the Hue Load Balancer host.'
Please confirm that Apache HTTPD is properly installed on the Hue Load Balancer host.
+ echo 'If Apache HTTPD is installed in a non-standard location, set the'
If Apache HTTPD is installed in a non-standard location, set the
+ echo ''\''CLOUDERA_HTTPD_EXECUTABLE_PATH'\'' environment variable in the Load Balancer'
'CLOUDERA_HTTPD_EXECUTABLE_PATH' environment variable in the Load Balancer
+ echo 'Environment Advanced Configuration Snippet (Safety Valve)'
Environment Advanced Configuration Snippet (Safety Valve)
+ exit 1
+ date
+ date
Fri Sep 14 16:51:34 CST 2018
++ dirname /opt/cm-5.13.0/lib64/cmf/service/hue/httpd.sh
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/hue
++ cd /opt/cm-5.13.0/lib64/cmf/service/hue/../common
++ pwd
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/common
+ . /opt/cm-5.13.0/lib64/cmf/service/common/cloudera-config.sh
++ set -x
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/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-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
+ . /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ export CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ export CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ export CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ export TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
+ HTTPD_CANDIDATES=("/usr/sbin/httpd" "/usr/sbin/apache2" "/usr/sbin/httpd2")
+ HTTPD_MODULE_DIR_CANDIDATES=("/usr/lib64/httpd/modules" "/usr/lib/httpd/modules" "/usr/lib64/apache2/modules" "/usr/lib/apache2/modules" "/usr/lib64/apache2-prefork" "/usr/lib64/apache2")
+ '[' -z '' ']'
++ find_path /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/httpd2
++ for candidate in '$@'
++ '[' -e /usr/sbin/httpd ']'
++ for candidate in '$@'
++ '[' -e /usr/sbin/apache2 ']'
++ for candidate in '$@'
++ '[' -e /usr/sbin/httpd2 ']'
++ return 1
+ CLOUDERA_HTTPD_EXECUTABLE_PATH=
+ '[' 1 '!=' 0 ']'
+ echo 'Failed to find the Apache HTTPD executable.'
Failed to find the Apache HTTPD executable.
+ echo 'Tried /usr/sbin/httpd' /usr/sbin/apache2 /usr/sbin/httpd2
Tried /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/httpd2
+ echo 'Please confirm that Apache HTTPD is properly installed on the Hue Load Balancer host.'
Please confirm that Apache HTTPD is properly installed on the Hue Load Balancer host.
+ echo 'If Apache HTTPD is installed in a non-standard location, set the'
If Apache HTTPD is installed in a non-standard location, set the
+ echo ''\''CLOUDERA_HTTPD_EXECUTABLE_PATH'\'' environment variable in the Load Balancer'
'CLOUDERA_HTTPD_EXECUTABLE_PATH' environment variable in the Load Balancer
+ echo 'Environment Advanced Configuration Snippet (Safety Valve)'
Environment Advanced Configuration Snippet (Safety Valve)
+ exit 1
+ date
+ date
Fri Sep 14 16:51:36 CST 2018
++ dirname /opt/cm-5.13.0/lib64/cmf/service/hue/httpd.sh
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/hue
++ cd /opt/cm-5.13.0/lib64/cmf/service/hue/../common
++ pwd
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/common
+ . /opt/cm-5.13.0/lib64/cmf/service/common/cloudera-config.sh
++ set -x
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/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-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
+ . /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ export CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ export CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ export CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ export TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
+ HTTPD_CANDIDATES=("/usr/sbin/httpd" "/usr/sbin/apache2" "/usr/sbin/httpd2")
+ HTTPD_MODULE_DIR_CANDIDATES=("/usr/lib64/httpd/modules" "/usr/lib/httpd/modules" "/usr/lib64/apache2/modules" "/usr/lib/apache2/modules" "/usr/lib64/apache2-prefork" "/usr/lib64/apache2")
+ '[' -z '' ']'
++ find_path /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/httpd2
++ for candidate in '$@'
++ '[' -e /usr/sbin/httpd ']'
++ for candidate in '$@'
++ '[' -e /usr/sbin/apache2 ']'
++ for candidate in '$@'
++ '[' -e /usr/sbin/httpd2 ']'
++ return 1
+ CLOUDERA_HTTPD_EXECUTABLE_PATH=
+ '[' 1 '!=' 0 ']'
+ echo 'Failed to find the Apache HTTPD executable.'
Failed to find the Apache HTTPD executable.
+ echo 'Tried /usr/sbin/httpd' /usr/sbin/apache2 /usr/sbin/httpd2
Tried /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/httpd2
+ echo 'Please confirm that Apache HTTPD is properly installed on the Hue Load Balancer host.'
Please confirm that Apache HTTPD is properly installed on the Hue Load Balancer host.
+ echo 'If Apache HTTPD is installed in a non-standard location, set the'
If Apache HTTPD is installed in a non-standard location, set the
+ echo ''\''CLOUDERA_HTTPD_EXECUTABLE_PATH'\'' environment variable in the Load Balancer'
'CLOUDERA_HTTPD_EXECUTABLE_PATH' environment variable in the Load Balancer
+ echo 'Environment Advanced Configuration Snippet (Safety Valve)'
Environment Advanced Configuration Snippet (Safety Valve)
+ exit 1
+ date
+ date
Fri Sep 14 16:51:39 CST 2018
++ dirname /opt/cm-5.13.0/lib64/cmf/service/hue/httpd.sh
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/hue
++ cd /opt/cm-5.13.0/lib64/cmf/service/hue/../common
++ pwd
+ cloudera_config=/opt/cm-5.13.0/lib64/cmf/service/common
+ . /opt/cm-5.13.0/lib64/cmf/service/common/cloudera-config.sh
++ set -x
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/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-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
+ . /opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-5.13.0-1.cdh5.13.0.p0.29
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-hdfs
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/zookeeper
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop
++ export CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/flume-ng
++ export CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/pig
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hive-hcatalog
++ export CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sqoop2
++ export CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/llama
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/sentry
++ export TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-tomcat
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/hadoop-kms
++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/parquet
++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/avro
++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-5.13.0-1.cdh5.13.0.p0.29/lib/kudu
+ HTTPD_CANDIDATES=("/usr/sbin/httpd" "/usr/sbin/apache2" "/usr/sbin/httpd2")
+ HTTPD_MODULE_DIR_CANDIDATES=("/usr/lib64/httpd/modules" "/usr/lib/httpd/modules" "/usr/lib64/apache2/modules" "/usr/lib/apache2/modules" "/usr/lib64/apache2-prefork" "/usr/lib64/apache2")
+ '[' -z '' ']'
++ find_path /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/httpd2
++ for candidate in '$@'
++ '[' -e /usr/sbin/httpd ']'
++ for candidate in '$@'
++ '[' -e /usr/sbin/apache2 ']'
++ for candidate in '$@'
++ '[' -e /usr/sbin/httpd2 ']'
++ return 1
+ CLOUDERA_HTTPD_EXECUTABLE_PATH=
+ '[' 1 '!=' 0 ']'
+ echo 'Failed to find the Apache HTTPD executable.'
Failed to find the Apache HTTPD executable.
+ echo 'Tried /usr/sbin/httpd' /usr/sbin/apache2 /usr/sbin/httpd2
Tried /usr/sbin/httpd /usr/sbin/apache2 /usr/sbin/httpd2
+ echo 'Please confirm that Apache HTTPD is properly installed on the Hue Load Balancer host.'
Please confirm that Apache HTTPD is properly installed on the Hue Load Balancer host.
+ echo 'If Apache HTTPD is installed in a non-standard location, set the'
If Apache HTTPD is installed in a non-standard location, set the
+ echo ''\''CLOUDERA_HTTPD_EXECUTABLE_PATH'\'' environment variable in the Load Balancer'
'CLOUDERA_HTTPD_EXECUTABLE_PATH' environment variable in the Load Balancer
+ echo 'Environment Advanced Configuration Snippet (Safety Valve)'
Environment Advanced Configuration Snippet (Safety Valve)
+ exit 1

 

 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/510224.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

cuda nsight 调试和性能分析

如果cuda需要调试需要在配置cmake: cmake配置 set(CUDA_NVCC_FLAGS -G;-g) 命令行编译配置&#xff1a; nvcc –g –G MatrixCUDA.cu –o MatrixCUDA 打开 nvidia nsight monitor ->options进行设置 2.尽量把WDDM TDR Delay 调大点 3.将 use this monitor for cuda att…

html之元素与元素的形成

1.<title> 标签定义文档的标题。2.<p>插入文本内容 注意&#xff1a;<p> </p>整体等同于<p>3.有一些元素可以忽略开始标签4.合理嵌套

cuda线程束原语 __shfl_xor、__shfl、__shfl_up()、__shfl_down()

在CC3.0以上&#xff0c;支持了shuffle指令&#xff0c;允许thread直接读其他thread的寄存器值&#xff0c;只要两个thread在 同一个warp中&#xff0c;这种比通过shared Memory进行thread间的通讯效果更好&#xff0c;latency更低&#xff0c;同时也不消耗额外的内存资源来执行…

Hue添加RDBMS(关系型数据库)

Hue添加RDBMS方式 Hue界面没有Mysql添加方式&#xff0c;需要修改配置切换至Hue3界面&#xff0c;找一下 3.发现有添加方式 4.点进去发现&#xff0c;说要再配置文件中添加 5.经查阅资料发现&#xff0c;需要在hue的配置中hue_safety_valve.ini 修改/添加 相关数据库配置 6.…

html之属性的定义

<元素 属性"值"(或者值)>内容</元素>2.3.4属性的定义1.不定义属性2.属性值中的空白eg:<img src"c:/hello world">因为属性值是连续字符序列&#xff0c;因此hello与world之间的空白处应该用%20&#xff0c;<img srcc:/hello%20world&…

#error This file requires compiler and library support for the ISO C++ 2011 standard

解决方式&#xff1a; set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdc11")

HBase BlockCache系列 - 探求BlockCache实现机制

转载自&#xff1a;http://hbasefly.com/2016/04/26/hbase-blockcache-2/ HBase BlockCache系列第一篇文章《走进BlockCache》从全局视角对HBase中缓存、Memstore等作了简要概述&#xff0c;并重点介绍了几种BlockCache方案及其演进过程&#xff0c;对此还不了解的可以点这里。…

html之属性的应用

在html文档中&#xff0c;某些地方不允许存在某些字符。因此使用其他字符代替eg&#xff1a;小于号(<)和and符号(&)&#xff0c;如果错误的使用这些符号&#xff0c;会造成html解析器将显示错误。eg&#xff1a;<p><html></p>可以显示html如果不用其他…

ubuntu安装tensorflow-gpu 和pytorch

本文参考了&#xff1a; https://blog.csdn.net/qq_27825451/article/details/89082978 谢谢这位博主 这里我们选择清华源 sudo python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-gpu1.2.0 pip install -i https://pypi.tuna.tsinghua.edu.c…

Hbase Memstore刷新方式与Region的数目上限

目录 Region数目上限 Region大小上限 MemStore的刷新方式&#xff08;触发条件&#xff09; HLog (WAL) Size & Memstore Flush 频繁的Memstore Flushes Region数目上限 RegionServer的region数目取决于memstore的内存使用&#xff0c;每个region拥有一组memstore&am…

CDH- Hive HWI 配置

目录 一、HWI安装 二、其中遇到一些问题&#xff1a; 1.遇到如下问题&#xff0c;将jre环境中的toos.jar 服务到lib目录下 2.CDH中没有hwi相关配置参数&#xff0c;手动加入并修改端口为9998&#xff0c;发现并未生效&#xff0c;暂时未找到原因所在。 一、HWI安装 通过查看…

ubuntu 安装PCL

如果你对PCL版本没有要求可以根据下面的方式安装&#xff1a; sudo apt-get install libpcl-dev 编译工程的时候可能会出现两个错误&#xff1a; 1. *** No rule to make target /usr/lib/x86_64-linux-gnu/libproj.so, needed by pcl_test. Stop 解决方式&#xff1a; s…

html之添加注释

为文档添加注释 <!--这里是注释--> 或者 <!--这里也是注释 并且可以分为多行-->

Hive - HWI 简单使用

进入HWI web页面 查看数据库中的表&#xff1a; 单击Create Session&#xff0c;并输入任务名称&#xff08;自定义&#xff09; 输入相关信息 Result File:结果输出文件 Error File:错误输出文件(可不填) Query&#xff1a;需要执行的语句,一些需要设置的参数也在这里面进…

ubuntu16.04安装ROS

参考博客: https://blog.csdn.net/weixin_43159148/article/details/83375218

HDFS balancer 异常处理

Hbase批量导入数据时&#xff0c;服务器负载较高&#xff0c;导致HDFS数据没有及时均衡&#xff0c;导致有一个DataNode数据暴增&#xff0c;手动进行balancer。 增加HDFS DataNode节点&#xff0c;想要均衡数据存储&#xff0c;执行 hdfs balancer -threshold 10 突然有一些…

html之关于空白和空白字符

分为&#xff1a;有意义空白和无意义空白2.71关于断行符<p> </p>2.72空白字符四种。。。记住&#xff1a;应该将空白置于开始标签之前&#xff0c;而不是紧跟着开始标签之后&#xff08;eg&#xff1a;<p>hello <a hre...>world</a> 避免<p&g…

“__popcnt64 is undefined

添加头文件&#xff1a; #include <intrin.h>

html之特殊字符表

特殊符号命名实体十进制编码特殊符号命名实体十进制编码Α&Alpha;Β&Beta;Γ&Gamma;Δ&Delta;Ε&Epsilon;Ζ&Zeta;Η&Eta;Θ&Theta;Ι&Iota;Κ&Kappa;Λ&Lambda;Μ&Mu;Ν&Nu;Ξ&Xi;Ο&Omicron;Π&Pi;Ρ&R…