Reply
Highlighted
Explorer
Posts: 10
Registered: ‎10-24-2016

Oozie server which is installed using Cloudera Manager start/stop if Cloudera Manager is down

Hello,

Please let me know if any other way to start/stop Oozie server if Cloudera Manager is down which was installed using Cloudera Manager.

Will the following script work as below errors were received during test run.

ls -lrt /opt/cloudera/parcels/CDH-5.4.7-1.cdh5.4.7.p0.3/lib/oozie/bin
total 32
-rwxr-xr-x 1 root root 1607 Sep 17 2015 oozie
-rwxr-xr-x 1 root root 7296 Sep 17 2015 oozie-sys.sh
-rwxr-xr-x 1 root root 9436 Sep 17 2015 oozie-setup.sh
-rwxr-xr-x 1 root root 3516 Sep 17 2015 oozied.sh
-rwxr-xr-x 1 root root 1932 Sep 17 2015 ooziedb.sh
lrwxrwxrwx 1 root root 28 Jun 13 2016 oozie-env.sh -> /etc/oozie/conf/oozie-env.sh
----------------------------------------------------------------------------------------------------------
Setting OOZIE_HOME: /opt/cloudera/parcels/CDH-5.5.6-1.cdh5.5.6.p0.2/lib/oozie
Sourcing: /opt/cloudera/parcels/CDH-5.5.6-1.cdh5.5.6.p0.2/lib/oozie/bin/oozie-env.sh
setting JAVA_LIBRARY_PATH="$JAVA_LIBRARY_PATH:/usr/lib/hadoop/lib/native"
setting OOZIE_DATA=/var/lib/oozie
setting OOZIE_CATALINA_HOME=/usr/lib/bigtop-tomcat
setting CATALINA_TMPDIR=/var/lib/oozie
setting CATALINA_PID=/var/run/oozie/oozie.pid
setting CATALINA_BASE=/var/lib/oozie/tomcat-deployment
setting OOZIE_HTTPS_PORT=11443
setting OOZIE_HTTPS_KEYSTORE_PASS=password
setting CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.port=${OOZIE_HTTPS_PORT}"
setting CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.keystore.pass=${OOZIE_HTTPS_KEYSTORE_PASS}"
setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m"
setting OOZIE_CONFIG=/etc/oozie/conf
setting OOZIE_LOG=/var/log/oozie
Using OOZIE_CONFIG: /etc/oozie/conf
Sourcing: /etc/oozie/conf/oozie-env.sh
setting JAVA_LIBRARY_PATH="$JAVA_LIBRARY_PATH:/usr/lib/hadoop/lib/native"
setting OOZIE_DATA=/var/lib/oozie
setting OOZIE_CATALINA_HOME=/usr/lib/bigtop-tomcat
setting CATALINA_TMPDIR=/var/lib/oozie
setting CATALINA_PID=/var/run/oozie/oozie.pid
setting CATALINA_BASE=/var/lib/oozie/tomcat-deployment
setting OOZIE_HTTPS_PORT=11443
setting OOZIE_HTTPS_KEYSTORE_PASS=password
setting CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.port=${OOZIE_HTTPS_PORT}"
setting CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.keystore.pass=${OOZIE_HTTPS_KEYSTORE_PASS}"
setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m"
setting OOZIE_CONFIG=/etc/oozie/conf
setting OOZIE_LOG=/var/log/oozie
Setting OOZIE_CONFIG_FILE: oozie-site.xml
Using OOZIE_DATA: /var/lib/oozie
Using OOZIE_LOG: /var/log/oozie
Setting OOZIE_LOG4J_FILE: oozie-log4j.properties
Setting OOZIE_LOG4J_RELOAD: 10
Setting OOZIE_HTTP_HOSTNAME: xyz.compute.internal
Setting OOZIE_HTTP_PORT: 11000
Setting OOZIE_ADMIN_PORT: 11001
Using OOZIE_HTTPS_PORT: 11443
Setting OOZIE_BASE_URL: http://xyz.compute.internal:11000/oozie
Using CATALINA_BASE: /var/lib/oozie/tomcat-deployment
Setting OOZIE_HTTPS_KEYSTORE_FILE: /home/ec2-user/.keystore
Using OOZIE_HTTPS_KEYSTORE_PASS: abc
Setting OOZIE_INSTANCE_ID: xyz.compute.internal
Setting CATALINA_OUT: /var/log/oozie/catalina.out
Using CATALINA_PID: /var/run/oozie/oozie.pid

oozied.sh: line 105: /usr/lib/bigtop-tomcat/bin/catalina.sh: No such file or directory
oozied.sh: line 105: exec: /usr/lib/bigtop-tomcat/bin/catalina.sh: cannot execute: No such file or directory

Thanks,
Joy

Announcements