Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Deploy Client Configuration fails

Deploy Client Configuration fails

Explorer

Hi,

 

I am trying to update the configuration  hive properties and redeploy the configuration using cloudera manager, but I am getting below error message  for all the services.

 

Deploy Client Configuration failed. 

 

Program: client/deploy-cc.sh ["hive-clientconfig.zip","conf.cloudera.hive"]

 

the stderr logs are as follow:-

 

Sun Feb 22 23:20:23 PST 2015
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/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.2.1-1.cdh5.2.1.p0.12/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-5.2.1-1.cdh5.2.1.p0.12
+ . /opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-5.2.1-1.cdh5.2.1.p0.12
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-hdfs
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/zookeeper
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop
++ export CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/flume-ng
++ CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/flume-ng
++ export CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/pig
++ CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/pig
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hive-hcatalog
++ export CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/sqoop2
++ CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/sqoop2
++ export CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/llama
++ CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/llama
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/sentry
++ export TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/bigtop-tomcat
++ TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/bigtop-tomcat
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-kms
+ echo 'using 5 as CDH_VERSION'
+ echo 'using HIVE as SERVICE_TYPE'
+ echo 'using /var/run/cloudera-scm-agent/process/2428-deploy-client-config as CONF_DIR'
+ echo 'using hive-conf as DIRECTORY_NAME'
+ echo 'using as DEST_PATH'
+ echo 'using /etc/hive as ROOT_DIR_NAME'
+ echo 'using hive-conf as ALT_NAME'
+ echo 'using /etc/hive/conf as ALT_LINK'
+ echo 'using 90 as PRIORITY'
+ set -x
+ set -e
+ [[ -n /etc/hive/conf ]]
++ basename /etc/hive/conf
+ LINK_BASENAME=conf
++ which update-alternatives
+ UPDATE_ALTERNATIVES=/usr/sbin/update-alternatives
+ [[ -z /usr/sbin/update-alternatives ]]
+ ZIP_FILE=hive-clientconfig.zip
+ SRC_NAME=hive-conf
+ [[ -z '' ]]
+ DEST_NAME=conf.cloudera.hive
+ DEST_PATH=/etc/hive/conf.cloudera.hive
+ [[ -n /opt/cloudera/parcels ]]
+ [[ /opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-0.20-mapreduce = /opt/cloudera/parcels/* ]]
+ CDH_MR1_HOME=/opt/cloudera/parcels/CDH/lib/hadoop-0.20-mapreduce
+ [[ -n /opt/cloudera/parcels ]]
+ [[ /opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop-mapreduce = /opt/cloudera/parcels/* ]]
+ CDH_MR2_HOME=/opt/cloudera/parcels/CDH/lib/hadoop-mapreduce
+ perl -pi -e 's#{{CDH_MR1_HOME}}#/opt/cloudera/parcels/CDH/lib/hadoop-0.20-mapreduce#g' /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/core-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hadoop-env.sh /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hive-env.sh /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hive-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/mapred-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/ssl-client.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/topology.map /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/topology.py /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/yarn-site.xml
+ perl -pi -e 's#{{CDH_MR2_HOME}}#/opt/cloudera/parcels/CDH/lib/hadoop-mapreduce#g' /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/core-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hadoop-env.sh /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hive-env.sh /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hive-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/mapred-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/ssl-client.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/topology.map /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/topology.py /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/yarn-site.xml
+ perl -pi -e 's#{{CDH_HADOOP_HOME}}#/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hadoop#g' /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/core-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hadoop-env.sh /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hive-env.sh /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hive-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/mapred-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/ssl-client.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/topology.map /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/topology.py /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/yarn-site.xml
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ perl -pi -e 's#{{HBASE_CONF_DIR}}#/etc/hive/conf#g' /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/core-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hadoop-env.sh /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hive-env.sh /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hive-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/mapred-site.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/ssl-client.xml /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/topology.map /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/topology.py /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/yarn-site.xml
+ replace_hive_hbase_jars_template hive-env.sh
+ filename=hive-env.sh
++ find /opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hive/lib -name 'hive-hbase-handler-*.jar'
++ tail -n 1
+ HIVE_HBASE_JAR=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hive/lib/hive-hbase-handler-0.13.1-cdh5.2.1.jar
++ sed 's: :,:g'
+++ find /opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase -regextype posix-egrep -regex '/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/(hbase|hbase-client|hbase-server|hbase-protocol|hbase-common|hbase-hadoop-compat|hbase-hadoop2-compat|(lib/htrace-core.*)).jar'
+ HBASE_JAR=/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/lib/htrace-core-2.04.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/lib/htrace-core.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-common.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-client.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-hadoop2-compat.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-hadoop-compat.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-protocol.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-server.jar
+ [[ hive-env.sh == \h\i\v\e\-\s\i\t\e\.\x\m\l ]]
+ [[ -n /opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hive/lib/hive-hbase-handler-0.13.1-cdh5.2.1.jar ]]
+ [[ -n /opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/lib/htrace-core-2.04.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/lib/htrace-core.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-common.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-client.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-hadoop2-compat.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-hadoop-compat.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-protocol.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-server.jar ]]
+ [[ hive-env.sh == \h\i\v\e\-\s\i\t\e\.\x\m\l ]]
+ perl -pi -e 's#{{HIVE_HBASE_JAR}}#/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hive/lib/hive-hbase-handler-0.13.1-cdh5.2.1.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/lib/htrace-core-2.04.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/lib/htrace-core.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-common.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-client.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-hadoop2-compat.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-hadoop-compat.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-protocol.jar,/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hbase/hbase-server.jar#g' /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf/hive-env.sh
+ [[ -n /etc/hive ]]
+ '[' '!' -e /etc/hive ']'
+ cd /etc/hive
+ for SPECIAL_FILE in '$DEST_PATH/{taskcontroller.cfg,container-executor.cfg}'
+ '[' -e /etc/hive/conf.cloudera.hive/taskcontroller.cfg ']'
+ for SPECIAL_FILE in '$DEST_PATH/{taskcontroller.cfg,container-executor.cfg}'
+ '[' -e /etc/hive/conf.cloudera.hive/container-executor.cfg ']'
+ [[ -n /etc/hive ]]
+ [[ -d conf ]]
+ [[ ! -L conf ]]
+ '[' -n '' ']'
+ [[ -n /etc/hive ]]
+ rm -rf /etc/hive/conf.cloudera.hive
+ cp -a /var/run/cloudera-scm-agent/process/2428-deploy-client-config/hive-conf /etc/hive/conf.cloudera.hive
+ chmod -R ugo+r /etc/hive/conf.cloudera.hive
+ '[' -e /etc/hive/conf.cloudera.hive/topology.py ']'
+ chmod +x /etc/hive/conf.cloudera.hive/topology.py
+ [[ HIVE == HIVE ]]
+ copy_hive_default /etc/hive/conf.cloudera.hive
+ [[ -z 5 ]]
+ '[' 1 -ne 1 ']'
+ [[ 5 == 3 ]]
+ [[ -n /etc/hive ]]
+ /usr/sbin/update-alternatives --install /etc/hive/conf hive-conf /etc/hive/conf.cloudera.hive 90
+ /usr/sbin/update-alternatives --auto hive-conf

 

 

stdout.log:-

 

Sun Feb 22 23:20:23 PST 2015
using 5 as CDH_VERSION
using HIVE as SERVICE_TYPE
using /var/run/cloudera-scm-agent/process/2428-deploy-client-config as CONF_DIR
using hive-conf as DIRECTORY_NAME
using as DEST_PATH
using /etc/hive as ROOT_DIR_NAME
using hive-conf as ALT_NAME
using /etc/hive/conf as ALT_LINK
using 90 as PRIORITY