Created on 09-20-2014 02:54 AM - edited 09-16-2022 02:08 AM
Hi to all!
I am installing Zookeeper using Cloudera Manager 5.1.2 on Red Hat Enterprise Linux Server release 6.4 (Santiago) and I am keep getting this error message when installing it.
Completed only 0/1 steps. First failure: Command (744) has failed
Supervisor returned FATAL. Please check the role log file, stderr, or stdout.
Program: zookeeper/zkserver.sh ["1","/var/lib/zookeeper"]
Sat Sep 20 11:21:19 CEST 2014
+ source_parcel_environment
+ '[' '!' -z /pkg/moip/mo10755/work/mzpl/cloudera/parcels/CDH-5.1.2-1.cdh5.1.2.p0.3/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=/pkg/moip/mo10755/work/mzpl/cloudera/parcels/CDH-5.1.2-1.cdh5.1.2.p0.3/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-5.1.2-1.cdh5.1.2.p0.3
+ . /pkg/moip/mo10755/work/mzpl/cloudera/parcels/CDH-5.1.2-1.cdh5.1.2.p0.3/meta/cdh_env.sh
/opt/cloudera-manager/cm-5.1.2/lib64/cmf/service/common/cloudera-config.sh: line 172: /pkg/moip/mo10755/work/mzpl/cloudera/parcels/CDH-5.1.2-1.cdh5.1.2.p0.3/meta/cdh_env.sh: Permission denied
+ locate_cdh_java_home
+ '[' -z /usr/java/jdk1.7.0_55 ']'
+ verify_java_home
+ '[' -z /usr/java/jdk1.7.0_55 ']'
+ echo JAVA_HOME=/usr/java/jdk1.7.0_55
+ '[' /usr/java/jdk1.7.0_55 '!=' '' ']'
+ JAVA=/usr/java/jdk1.7.0_55/bin/java
+ MYID=1
+ DATA_DIR=/var/lib/zookeeper
+ export ZOOKEEPER_HOME=/usr/lib/zookeeper
+ ZOOKEEPER_HOME=/usr/lib/zookeeper
+ echo 'using /usr/java/jdk1.7.0_55 as JAVA_HOME'
+ echo 'CDH_VERSION is 5'
+ echo 'ZOOKEEPER_HOME is /usr/lib/zookeeper'
+ echo 'configuration directory is /opt/cloudera-manager/cm-5.1.2/run/cloudera-scm-agent/process/51-zookeeper-server'
+ echo 'server id (myid) is 1'
+ echo 'data directory is /var/lib/zookeeper'
+ set_zookeeper_classpath
+ set_classpath_in_var ZOOKEEPER_CLASSPATH
+ '[' -z ZOOKEEPER_CLASSPATH ']'
+ '[' /opt/cloudera-manager/cm-5.1.2/share/cmf ']'
+ local INCLUDE_CDH_DIR=
+ '[' 5 ']'
+ INCLUDE_CDH_DIR=/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/cdh5
++ find /opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins /opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/cdh5 -maxdepth 1 -name '*.jar'
++ tr '\n' :
+ ADD_TO_CP=/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/event-publish-5.1.2-shaded.jar:/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/tt-instrumentation-5.1.2.jar:/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/cdh5/audit-plugin-cdh5-2.0.1-shaded.jar:
+ ADD_TO_CP=/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/event-publish-5.1.2-shaded.jar:/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/tt-instrumentation-5.1.2.jar:/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/cdh5/audit-plugin-cdh5-2.0.1-shaded.jar
+ eval 'OLD_VALUE=$ZOOKEEPER_CLASSPATH'
++ OLD_VALUE=
+ '[' -z ']'
+ export ZOOKEEPER_CLASSPATH=/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/event-publish-5.1.2-shaded.jar:/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/tt-instrumentation-5.1.2.jar:/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/cdh5/audit-plugin-cdh5-2.0.1-shaded.jar
+ ZOOKEEPER_CLASSPATH=/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/event-publish-5.1.2-shaded.jar:/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/tt-instrumentation-5.1.2.jar:/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/cdh5/audit-plugin-cdh5-2.0.1-shaded.jar
+ '[' '!' -d /var/lib/zookeeper ']'
+ echo 1
+ '[' '' '!=' '' ']'
+ '[' '' '!=' '' ']'
+ export 'ZOOKEEPER_SERVER_OPTS=-Djava.net.preferIPv4Stack=true -Dzookeeper.log.file=zookeeper-cmf-zookeeper-SERVER-mob1l0r0k.appdb.ngIBMD.prod.bide.de.tmo.log -Dzookeeper.log.dir=/var/log/zookeeper -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dzookeeper.datadir.autocreate=false -Xms1073741824 -Xmx1073741824 -XX:OnOutOfMemoryError=/opt/cloudera-manager/cm-5.1.2/lib64/cmf/service/common/killparent.sh'
+ ZOOKEEPER_SERVER_OPTS='-Djava.net.preferIPv4Stack=true -Dzookeeper.log.file=zookeeper-cmf-zookeeper-SERVER-mob1l0r0k.appdb.ngIBMD.prod.bide.de.tmo.log -Dzookeeper.log.dir=/var/log/zookeeper -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dzookeeper.datadir.autocreate=false -Xms1073741824 -Xmx1073741824 -XX:OnOutOfMemoryError=/opt/cloudera-manager/cm-5.1.2/lib64/cmf/service/common/killparent.sh'
+ exec /usr/java/jdk1.7.0_55/bin/java -cp '/opt/cloudera-manager/cm-5.1.2/run/cloudera-scm-agent/process/51-zookeeper-server:/usr/lib/zookeeper/lib/log4j.jar:/usr/lib/zookeeper/build/*:/usr/lib/zookeeper/build/lib/*:/usr/lib/zookeeper/*:/usr/lib/zookeeper/lib/*:/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/event-publish-5.1.2-shaded.jar:/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/tt-instrumentation-5.1.2.jar:/opt/cloudera-manager/cm-5.1.2/share/cmf/lib/plugins/cdh5/audit-plugin-cdh5-2.0.1-shaded.jar' -Djava.net.preferIPv4Stack=true -Dzookeeper.log.file=zookeeper-cmf-zookeeper-SERVER-mob1l0r0k.appdb.ngIBMD.prod.bide.de.tmo.log -Dzookeeper.log.dir=/var/log/zookeeper -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dzookeeper.datadir.autocreate=false -Xms1073741824 -Xmx1073741824 -XX:OnOutOfMemoryError=/opt/cloudera-manager/cm-5.1.2/lib64/cmf/service/common/killparent.sh org.apache.zookeeper.server.quorum.QuorumPeerMain /opt/cloudera-manager/cm-5.1.2/run/cloudera-scm-agent/process/51-zookeeper-server/zoo.cfg
Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
It is the first service I started with to install on my (only) host.
I am using parcel CDH-5.1.2-1.cdh5.1.2.p0.3-el6.parcel and I installed CM5 with Installation Path C - Manual Installation Using Cloudera Manager Tarballs (I do not have internet access on the host where I am installing Cloudera Express)
I ran Host Inspector and all checks ran successfully.
Python version: Python 2.6.6
I am using external MySQL database:
mysql Ver 14.14 Distrib 5.6.20, for Linux (x86_64) using EditLine wrapper
Java version:
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
I tried everything and I don't know what to do. Thanks for any help!
Created 09-21-2014 07:50 AM
I solved the problem.
cloudera-scm user did not have access to a parent folder: /pkg/moip/mo10755/work/mzpl which caused that the cloudera-scm user could not run any scripts from parcel subfolders.
I changed the permissions and now it works 🙂
Thank you very much for your help!
Created 09-21-2014 07:50 AM
I solved the problem.
cloudera-scm user did not have access to a parent folder: /pkg/moip/mo10755/work/mzpl which caused that the cloudera-scm user could not run any scripts from parcel subfolders.
I changed the permissions and now it works 🙂
Thank you very much for your help!
Created 09-20-2014 08:59 AM