Created 07-19-2017 10:59 AM
Hi,
After updating the JDK to 1.8.0_121 under CDH 5.12, the Service Monitor can not running, and give me the below error message in the log :
Redaction rules file doesn't exist, not redacting logs. file: redaction-rules.json, directory: /var/run/cloudera-scm-agent/process/4001-cloudera-mgmt-SERVICEMONITOR + date + date Wed Jul 19 17:20:52 UTC 2017 + umask 027 + BASE_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC' + MGMT_HOME_ARG_NAME=--mgmt-home ++ dirname /usr/lib64/cmf/service/mgmt/mgmt.sh + cloudera_config=/usr/lib64/cmf/service/mgmt ++ cd /usr/lib64/cmf/service/mgmt/../common ++ pwd + cloudera_config=/usr/lib64/cmf/service/common + . /usr/lib64/cmf/service/common/cloudera-config.sh ++ set -x + locate_java_home + locate_java_home_no_verify + JAVA6_HOME_CANDIDATES=('/usr/lib/j2sdk1.6-sun' '/usr/lib/jvm/java-6-sun' '/usr/lib/jvm/java-1.6.0-sun-1.6.0' '/usr/lib/jvm/j2sdk1.6-oracle' '/usr/lib/jvm/j2sdk1.6-oracle/jre' '/usr/java/jdk1.6' '/usr/java/jre1.6') + local JAVA6_HOME_CANDIDATES + OPENJAVA6_HOME_CANDIDATES=('/usr/lib/jvm/java-1.6.0-openjdk' '/usr/lib/jvm/jre-1.6.0-openjdk') + local OPENJAVA6_HOME_CANDIDATES + JAVA7_HOME_CANDIDATES=('/usr/java/jdk1.7' '/usr/java/jre1.7' '/usr/lib/jvm/j2sdk1.7-oracle' '/usr/lib/jvm/j2sdk1.7-oracle/jre' '/usr/lib/jvm/java-7-oracle') + local JAVA7_HOME_CANDIDATES + OPENJAVA7_HOME_CANDIDATES=('/usr/lib/jvm/java-1.7.0-openjdk' '/usr/lib/jvm/java-7-openjdk') + local OPENJAVA7_HOME_CANDIDATES + JAVA8_HOME_CANDIDATES=('/usr/java/jdk1.8' '/usr/java/jre1.8' '/usr/lib/jvm/j2sdk1.8-oracle' '/usr/lib/jvm/j2sdk1.8-oracle/jre' '/usr/lib/jvm/java-8-oracle') + local JAVA8_HOME_CANDIDATES + OPENJAVA8_HOME_CANDIDATES=('/usr/lib/jvm/java-1.8.0-openjdk' '/usr/lib/jvm/java-8-openjdk') + local OPENJAVA8_HOME_CANDIDATES + MISCJAVA_HOME_CANDIDATES=('/Library/Java/Home' '/usr/java/default' '/usr/lib/jvm/default-java' '/usr/lib/jvm/java-openjdk' '/usr/lib/jvm/jre-openjdk') + local MISCJAVA_HOME_CANDIDATES + case ${BIGTOP_JAVA_MAJOR} in + JAVA_HOME_CANDIDATES=(${JAVA7_HOME_CANDIDATES[@]} ${JAVA8_HOME_CANDIDATES[@]} ${JAVA6_HOME_CANDIDATES[@]} ${MISCJAVA_HOME_CANDIDATES[@]} ${OPENJAVA7_HOME_CANDIDATES[@]} ${OPENJAVA8_HOME_CANDIDATES[@]} ${OPENJAVA6_HOME_CANDIDATES[@]}) + '[' -z /usr/java/jdk.1.8.0_121 ']' + verify_java_home + '[' -z /usr/java/jdk.1.8.0_121 ']' + echo JAVA_HOME=/usr/java/jdk.1.8.0_121 + source_parcel_environment + '[' '!' -z '' ']' + '[' /usr/java/jdk.1.8.0_121 '!=' '' ']' + JAVA=/usr/java/jdk.1.8.0_121/bin/java + [[ -n /usr/share/cmf ]] + MGMT_CLASSPATH='/usr/share/cmf/lib/*' + [[ -z /usr/share/cmf/lib/* ]] + JDBC_JARS=/usr/share/java/mysql-connector-java.jar:/usr/share/cmf/lib/postgresql-9.0-801.jdbc4.jar:/usr/share/java/oracle-connector-java.jar + MGMT_CLASSPATH='/usr/share/java/mysql-connector-java.jar:/usr/share/cmf/lib/postgresql-9.0-801.jdbc4.jar:/usr/share/java/oracle-connector-java.jar:/usr/share/cmf/lib/*:' + DDL_DIR=/usr/share/cmf/schema + [[ false == \f\a\l\s\e ]] + set +x
Thanks in advance.
Created 07-20-2017 09:05 AM
Hi, I resolve the problem thanks to this post
https://community.cloudera.com/t5/Cloudera-Manager-Installation/Service-Monitor-doesn-t-start/td-p/2...
Good luck.
Created 07-20-2017 09:05 AM
Hi, I resolve the problem thanks to this post
https://community.cloudera.com/t5/Cloudera-Manager-Installation/Service-Monitor-doesn-t-start/td-p/2...
Good luck.