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.

Failed to start Event Server and Service Monitor

Failed to start Event Server and Service Monitor

Explorer

We have been stuck on this for a week, any advice would be appreciated:

 

Start event server failed: 

failed to start role: 

四 12月 24 10:13:07 CST 2015
JAVA_HOME=/usr/lib/jvm/java-7-oracle
Removing any leveldbjni library files left over from previous runs
Executing: /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-HOSTMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/126-cloudera-mgmt-HOSTMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp /run/cloudera-scm-agent/process/126-cloudera-mgmt-HOSTMONITOR:/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/* com.cloudera.cmon.firehose.Main --pipeline-type HOST_MONITORING --mgmt-home /usr/share/cmf

I have increased "Java Heap Size of EventServer in Bytes" to 5g, it does not work either.

 Andy advice would be appriciated.

 

Regards,
Joe

8 REPLIES 8

Re: Failed to start Event Server and Service Monitor

Explorer
Role log:
Dec 24, 11:31:51.952 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.zookeeper' from 'config.zookeeper_es.properties'
Dec 24, 11:31:51.953 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.zookeeper' from 'config.zookeeper_fr.properties'
Dec 24, 11:31:51.954 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.zookeeper' from 'config.zookeeper_pt_PT.properties'
Dec 24, 11:31:51.954 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.zookeeper' from 'config.zookeeper_pt_BR.properties'
Dec 24, 11:31:51.955 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.zookeeper' from 'config.zookeeper_ja.properties'
Dec 24, 11:31:51.956 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.zookeeper' from 'config.zookeeper_ko.properties'
Dec 24, 11:31:51.957 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.zookeeper' from 'config.zookeeper_zh_CN.properties'
Dec 24, 11:31:51.958 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mgmt' from 'config.mgmt_en.properties'
Dec 24, 11:31:51.959 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mgmt' from 'config.mgmt_de.properties'
Dec 24, 11:31:51.960 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mgmt' from 'config.mgmt_es.properties'
Dec 24, 11:31:51.962 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mgmt' from 'config.mgmt_fr.properties'
Dec 24, 11:31:51.963 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mgmt' from 'config.mgmt_pt_PT.properties'
Dec 24, 11:31:51.965 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mgmt' from 'config.mgmt_pt_BR.properties'
Dec 24, 11:31:51.966 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mgmt' from 'config.mgmt_ja.properties'
Dec 24, 11:31:51.967 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mgmt' from 'config.mgmt_ko.properties'
Dec 24, 11:31:51.969 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mgmt' from 'config.mgmt_zh_CN.properties'
Dec 24, 11:31:51.971 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.hive' from 'config.hive_en.properties'
Dec 24, 11:31:51.972 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.hive' from 'config.hive_de.properties'
Dec 24, 11:31:51.973 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.hive' from 'config.hive_es.properties'
Dec 24, 11:31:51.974 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.hive' from 'config.hive_fr.properties'
Dec 24, 11:31:51.975 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.hive' from 'config.hive_pt_PT.properties'
Dec 24, 11:31:51.976 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.hive' from 'config.hive_pt_BR.properties'
Dec 24, 11:31:51.977 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.hive' from 'config.hive_ja.properties'
Dec 24, 11:31:51.978 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.hive' from 'config.hive_ko.properties'
Dec 24, 11:31:51.979 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.hive' from 'config.hive_zh_CN.properties'
Dec 24, 11:31:51.980 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.yarn' from 'config.yarn_en.properties'
Dec 24, 11:31:51.981 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.yarn' from 'config.yarn_de.properties'
Dec 24, 11:31:51.983 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.yarn' from 'config.yarn_es.properties'
Dec 24, 11:31:51.984 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.yarn' from 'config.yarn_fr.properties'
Dec 24, 11:31:51.985 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.yarn' from 'config.yarn_pt_PT.properties'
Dec 24, 11:31:51.986 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.yarn' from 'config.yarn_pt_BR.properties'
Dec 24, 11:31:51.987 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.yarn' from 'config.yarn_ja.properties'
Dec 24, 11:31:51.988 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.yarn' from 'config.yarn_ko.properties'
Dec 24, 11:31:51.989 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.yarn' from 'config.yarn_zh_CN.properties'
Dec 24, 11:31:51.990 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mapreduce' from 'config.mapreduce_en.properties'
Dec 24, 11:31:51.992 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mapreduce' from 'config.mapreduce_de.properties'
Dec 24, 11:31:51.993 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mapreduce' from 'config.mapreduce_es.properties'
Dec 24, 11:31:51.995 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mapreduce' from 'config.mapreduce_fr.properties'
Dec 24, 11:31:51.996 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mapreduce' from 'config.mapreduce_pt_PT.properties'
Dec 24, 11:31:51.997 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mapreduce' from 'config.mapreduce_pt_BR.properties'
Dec 24, 11:31:51.998 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mapreduce' from 'config.mapreduce_ja.properties'
Dec 24, 11:31:52 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mapreduce' from 'config.mapreduce_ko.properties'
Dec 24, 11:31:52.001 AM INFO com.cloudera.enterprise.Translator
Loading bundle 'config.mapreduce' from 'config.mapreduce_zh_CN.properties'
Dec 24, 11:31:52.007 AM INFO com.cloudera.enterprise.ssl.SSLFactory
Using default java truststore for verification of server certificates in HTTPS communication.
Dec 24, 11:31:52.414 AM INFO com.cloudera.cmf.BasicScmProxy
Using encrypted credentials for SCM
Dec 24, 11:31:52.435 AM INFO com.cloudera.cmf.BasicScmProxy
Authenticated to SCM.
Dec 24, 11:31:52.934 AM INFO com.cloudera.cmf.eventcatcher.server.EventCatcherService
SCM descriptor fragments fetched successfully
Dec 24, 11:31:53.225 AM INFO com.cloudera.cmon.TimeSeriesAttribute
Registered TimeSeriesAttribute kafkaInternalTopic as KAFKAINTERNALTOPIC
Dec 24, 11:31:53.225 AM INFO com.cloudera.cmon.TimeSeriesAttribute
Registered TimeSeriesAttribute kafkaPartitionId as KAFKAPARTITIONID
Dec 24, 11:31:53.226 AM INFO com.cloudera.cmon.TimeSeriesAttribute
Registered TimeSeriesAttribute kafkaTopicName as KAFKATOPICNAME
Dec 24, 11:31:53.244 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType SQOOP_CLIENT
Dec 24, 11:31:53.244 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ACCUMULO16
Dec 24, 11:31:53.245 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ACCUMULO16-ACCUMULO16_MASTER
Dec 24, 11:31:53.246 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ACCUMULO16-ACCUMULO16_TSERVER
Dec 24, 11:31:53.246 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ACCUMULO16-ACCUMULO16_GC
Dec 24, 11:31:53.247 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ACCUMULO16-ACCUMULO16_MONITOR
Dec 24, 11:31:53.247 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ACCUMULO16-ACCUMULO16_TRACER
Dec 24, 11:31:53.248 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ACCUMULO
Dec 24, 11:31:53.248 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ACCUMULO-ACCUMULO_MASTER
Dec 24, 11:31:53.248 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ACCUMULO-ACCUMULO_LOGGER
Dec 24, 11:31:53.249 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ACCUMULO-ACCUMULO_TSERVER
Dec 24, 11:31:53.249 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ACCUMULO-ACCUMULO_GC
Dec 24, 11:31:53.250 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ACCUMULO-ACCUMULO_MONITOR
Dec 24, 11:31:53.250 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ACCUMULO-ACCUMULO_TRACER
Dec 24, 11:31:53.251 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType SPARK_ON_YARN
Dec 24, 11:31:53.253 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType SPARK_ON_YARN-SPARK_YARN_HISTORY_SERVER
Dec 24, 11:31:53.254 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KMS
Dec 24, 11:31:53.254 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KMS-KMS
Dec 24, 11:31:53.255 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KEYTRUSTEE_SERVER
Dec 24, 11:31:53.255 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KEYTRUSTEE_SERVER-KEYTRUSTEE_ACTIVE_SERVER
Dec 24, 11:31:53.256 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KEYTRUSTEE_SERVER-KEYTRUSTEE_PASSIVE_SERVER
Dec 24, 11:31:53.256 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KEYTRUSTEE_SERVER-DB_ACTIVE
Dec 24, 11:31:53.256 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KEYTRUSTEE_SERVER-DB_PASSIVE
Dec 24, 11:31:53.257 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KAFKA
Dec 24, 11:31:53.257 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KAFKA-KAFKA_BROKER
Dec 24, 11:31:53.258 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KAFKA-KAFKA_MIRROR_MAKER
Dec 24, 11:31:53.258 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType SPARK
Dec 24, 11:31:53.259 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType SPARK-SPARK_MASTER
Dec 24, 11:31:53.259 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType SPARK-SPARK_WORKER
Dec 24, 11:31:53.259 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType SPARK-SPARK_HISTORY_SERVER
Dec 24, 11:31:53.260 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KEYTRUSTEE
Dec 24, 11:31:53.260 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KEYTRUSTEE-KMS_KEYTRUSTEE
Dec 24, 11:31:53.261 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType ISILON
Dec 24, 11:31:53.261 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KAFKA_TOPIC
Dec 24, 11:31:53.261 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KAFKA_BROKER_TOPIC
Dec 24, 11:31:53.262 AM INFO com.cloudera.cmon.TimeSeriesEntityType
Registered TimeSeriesEntityType KAFKA_REPLICA
Dec 24, 11:31:53.316 AM INFO org.mortbay.log
Registered SubjectType ACCUMULO-ACCUMULO_MASTER
Dec 24, 11:31:53.317 AM INFO org.mortbay.log
Registered SubjectType SPARK-SPARK_HISTORY_SERVER
Dec 24, 11:31:53.318 AM INFO org.mortbay.log
Registered SubjectType ISILON
Dec 24, 11:31:53.318 AM INFO org.mortbay.log
Registered SubjectType KAFKA-KAFKA_BROKER
Dec 24, 11:31:53.329 AM INFO org.mortbay.log
Registered SubjectType KAFKA-KAFKA_MIRROR_MAKER
Dec 24, 11:31:53.330 AM INFO org.mortbay.log
Registered SubjectType KEYTRUSTEE_SERVER-DB_ACTIVE
Dec 24, 11:31:53.331 AM INFO org.mortbay.log
Registered SubjectType KEYTRUSTEE_SERVER-DB_PASSIVE
Dec 24, 11:31:53.332 AM INFO org.mortbay.log
Registered SubjectType ACCUMULO16-ACCUMULO16_TRACER
Dec 24, 11:31:53.333 AM INFO org.mortbay.log
Registered SubjectType ACCUMULO16-ACCUMULO16_TSERVER
Dec 24, 11:31:53.334 AM INFO org.mortbay.log
Registered SubjectType SPARK
Dec 24, 11:31:53.335 AM INFO org.mortbay.log
Registered SubjectType SPARK-SPARK_MASTER
Dec 24, 11:31:53.335 AM INFO org.mortbay.log
Registered SubjectType KEYTRUSTEE_SERVER-KEYTRUSTEE_ACTIVE_SERVER
Dec 24, 11:31:53.336 AM INFO org.mortbay.log
Registered SubjectType SPARK-SPARK_WORKER
Dec 24, 11:31:53.337 AM INFO org.mortbay.log
Registered SubjectType ACCUMULO-ACCUMULO_LOGGER
Dec 24, 11:31:53.338 AM INFO org.mortbay.log
Registered SubjectType KMS-KMS
Dec 24, 11:31:53.341 AM INFO org.mortbay.log
Registered SubjectType ACCUMULO-ACCUMULO_MONITOR
Dec 24, 11:31:53.354 AM INFO org.mortbay.log
Registered SubjectType ACCUMULO-ACCUMULO_TSERVER
Dec 24, 11:31:53.355 AM INFO org.mortbay.log
Registered SubjectType SPARK_ON_YARN
Dec 24, 11:31:53.356 AM INFO org.mortbay.log
Registered SubjectType ACCUMULO16-ACCUMULO16_MONITOR
Dec 24, 11:31:53.356 AM INFO org.mortbay.log
Registered SubjectType ACCUMULO16
Dec 24, 11:31:53.357 AM INFO org.mortbay.log
Registered SubjectType KAFKA
Dec 24, 11:31:53.358 AM INFO org.mortbay.log
Registered SubjectType SQOOP_CLIENT
Dec 24, 11:31:53.359 AM INFO org.mortbay.log
Registered SubjectType KEYTRUSTEE-KMS_KEYTRUSTEE
Dec 24, 11:31:53.360 AM INFO org.mortbay.log
Registered SubjectType ACCUMULO-ACCUMULO_GC
Dec 24, 11:31:53.361 AM INFO org.mortbay.log
Registered SubjectType KMS
Dec 24, 11:31:53.362 AM INFO org.mortbay.log
Registered SubjectType KEYTRUSTEE_SERVER
Dec 24, 11:31:53.363 AM INFO org.mortbay.log
Registered SubjectType KEYTRUSTEE_SERVER-KEYTRUSTEE_PASSIVE_SERVER
Dec 24, 11:31:53.364 AM INFO org.mortbay.log
Registered SubjectType ACCUMULO-ACCUMULO_TRACER
Dec 24, 11:31:53.365 AM INFO org.mortbay.log
Registered SubjectType ACCUMULO
Dec 24, 11:31:53.377 AM INFO org.mortbay.log
Registered SubjectType ACCUMULO16-ACCUMULO16_GC
Dec 24, 11:31:53.378 AM INFO org.mortbay.log
Registered SubjectType KEYTRUSTEE
Dec 24, 11:31:53.379 AM INFO org.mortbay.log
Registered SubjectType SPARK_ON_YARN-SPARK_YARN_HISTORY_SERVER
Dec 24, 11:31:53.380 AM INFO org.mortbay.log
Registered SubjectType ACCUMULO16-ACCUMULO16_MASTER
Dec 24, 11:31:53.380 AM INFO com.cloudera.cmf.eventcatcher.server.EventCatcherService
Successfully initialized non-built-in monitoring types
Dec 24, 11:31:53.386 AM INFO com.cloudera.cmf.PollingScmProxy
Polling interval is 1000 ms. Impala authentication cache validity is 120000 ms. Zookeeper authentication cache validity is 120000ms. Fetching metric schema is: false
Dec 24, 11:31:53.593 AM INFO com.cloudera.cmf.eventcatcher.upgrade.IndexVersionManager
Creating IndexVersionManager for /var/lib/cloudera-scm-eventserver
Dec 24, 11:31:53.593 AM INFO com.cloudera.cmf.eventcatcher.upgrade.IndexVersionManager
Checking for version directory at /var/lib/cloudera-scm-eventserver/version
Dec 24, 11:31:53.593 AM INFO com.cloudera.cmf.eventcatcher.upgrade.IndexVersionManager
No directory found at /var/lib/cloudera-scm-eventserver/version
Dec 24, 11:31:53.593 AM INFO com.cloudera.cmf.eventcatcher.upgrade.IndexVersionManager
Trying to create /var/lib/cloudera-scm-eventserver/version
Dec 24, 11:31:53.593 AM ERROR com.cloudera.cmf.eventcatcher.server.EventCatcherService
Error starting EventServer
java.lang.RuntimeException: Could not create version directory at /var/lib/cloudera-scm-eventserver/version
at com.cloudera.cmf.eventcatcher.upgrade.IndexVersionManager.ensureVersionDirExists(IndexVersionManager.java:161)
at com.cloudera.cmf.eventcatcher.upgrade.IndexVersionManager.<init>(IndexVersionManager.java:231)
at com.cloudera.cmf.eventcatcher.server.EventCatcherService.main(EventCatcherService.java:135)

Re: Failed to start Event Server and Service Monitor

Explorer
stderr:
+ date
+ date
四 12月 24 11:31:29 CST 2015
+ umask 027
+ BASE_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC'
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC '
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out'
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true'
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true'
+ MGMT_HOME_ARG_NAME=--mgmt-home
++ dirname /usr/lib/cmf/service/mgmt/mgmt.sh
+ cloudera_config=/usr/lib/cmf/service/mgmt
++ cd /usr/lib/cmf/service/mgmt/../common
++ pwd
+ cloudera_config=/usr/lib/cmf/service/common
+ . /usr/lib/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/lib/jvm/java-7-oracle ']'
+ verify_java_home
+ '[' -z /usr/lib/jvm/java-7-oracle ']'
+ echo JAVA_HOME=/usr/lib/jvm/java-7-oracle
+ source_parcel_environment
+ '[' '!' -z '' ']'
+ '[' /usr/lib/jvm/java-7-oracle '!=' '' ']'
+ JAVA=/usr/lib/jvm/java-7-oracle/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
+ [[ firehose == \f\i\r\e\h\o\s\e ]]
+ shift
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema'
+ [[ --pipeline-type SERVICE_MONITORING =~ SERVICE_MONITORING ]]
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000'
+ [[ --pipeline-type SERVICE_MONITORING =~ SERVICE_MONITORING ]]
+ echo 'Removing any leveldbjni library files left over from previous runs'
++ pwd
+ rm -fv '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR/libleveldbjni-64-*'
++ pwd
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR'
++ pwd
+ MGMT_CLASSPATH='/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*'
++ replace_pid -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh
++ sed 's#{{PID}}#26516#g'
++ echo -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh
+ FIREHOSE_JAVA_OPTS='-Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh'
+ echo_and_exec /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*' com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
+ echo 'Executing: /usr/lib/jvm/java-7-oracle/bin/java' -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*' com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
+ exec /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*' com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
+ date
+ date
四 12月 24 11:31:41 CST 2015
+ umask 027
+ BASE_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC'
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC '
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out'
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true'
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true'
+ MGMT_HOME_ARG_NAME=--mgmt-home
++ dirname /usr/lib/cmf/service/mgmt/mgmt.sh
+ cloudera_config=/usr/lib/cmf/service/mgmt
++ cd /usr/lib/cmf/service/mgmt/../common
++ pwd
+ cloudera_config=/usr/lib/cmf/service/common
+ . /usr/lib/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/lib/jvm/java-7-oracle ']'
+ verify_java_home
+ '[' -z /usr/lib/jvm/java-7-oracle ']'
+ echo JAVA_HOME=/usr/lib/jvm/java-7-oracle
+ source_parcel_environment
+ '[' '!' -z '' ']'
+ '[' /usr/lib/jvm/java-7-oracle '!=' '' ']'
+ JAVA=/usr/lib/jvm/java-7-oracle/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
+ [[ firehose == \f\i\r\e\h\o\s\e ]]
+ shift
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema'
+ [[ --pipeline-type SERVICE_MONITORING =~ SERVICE_MONITORING ]]
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000'
+ [[ --pipeline-type SERVICE_MONITORING =~ SERVICE_MONITORING ]]
+ echo 'Removing any leveldbjni library files left over from previous runs'
++ pwd
+ rm -fv '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR/libleveldbjni-64-*'
++ pwd
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR'
++ pwd
+ MGMT_CLASSPATH='/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*'
++ replace_pid -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh
++ sed 's#{{PID}}#26694#g'
++ echo -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh
+ FIREHOSE_JAVA_OPTS='-Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh'
+ echo_and_exec /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*' com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
+ echo 'Executing: /usr/lib/jvm/java-7-oracle/bin/java' -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*' com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
+ exec /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*' com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
+ date
+ date
四 12月 24 11:31:49 CST 2015
+ umask 027
+ BASE_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC'
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC '
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out'
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true'
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true'
+ MGMT_HOME_ARG_NAME=--mgmt-home
++ dirname /usr/lib/cmf/service/mgmt/mgmt.sh
+ cloudera_config=/usr/lib/cmf/service/mgmt
++ cd /usr/lib/cmf/service/mgmt/../common
++ pwd
+ cloudera_config=/usr/lib/cmf/service/common
+ . /usr/lib/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/lib/jvm/java-7-oracle ']'
+ verify_java_home
+ '[' -z /usr/lib/jvm/java-7-oracle ']'
+ echo JAVA_HOME=/usr/lib/jvm/java-7-oracle
+ source_parcel_environment
+ '[' '!' -z '' ']'
+ '[' /usr/lib/jvm/java-7-oracle '!=' '' ']'
+ JAVA=/usr/lib/jvm/java-7-oracle/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
+ [[ firehose == \f\i\r\e\h\o\s\e ]]
+ shift
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema'
+ [[ --pipeline-type SERVICE_MONITORING =~ SERVICE_MONITORING ]]
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000'
+ [[ --pipeline-type SERVICE_MONITORING =~ SERVICE_MONITORING ]]
+ echo 'Removing any leveldbjni library files left over from previous runs'
++ pwd
+ rm -fv '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR/libleveldbjni-64-*'
++ pwd
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR'
++ pwd
+ MGMT_CLASSPATH='/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*'
++ replace_pid -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh
++ echo -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh
++ sed 's#{{PID}}#26779#g'
+ FIREHOSE_JAVA_OPTS='-Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh'
+ echo_and_exec /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*' com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
+ echo 'Executing: /usr/lib/jvm/java-7-oracle/bin/java' -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*' com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
+ exec /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*' com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
+ date
+ date
四 12月 24 11:31:58 CST 2015
+ umask 027
+ BASE_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC'
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC '
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out'
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true'
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true'
+ MGMT_HOME_ARG_NAME=--mgmt-home
++ dirname /usr/lib/cmf/service/mgmt/mgmt.sh
+ cloudera_config=/usr/lib/cmf/service/mgmt
++ cd /usr/lib/cmf/service/mgmt/../common
++ pwd
+ cloudera_config=/usr/lib/cmf/service/common
+ . /usr/lib/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/lib/jvm/java-7-oracle ']'
+ verify_java_home
+ '[' -z /usr/lib/jvm/java-7-oracle ']'
+ echo JAVA_HOME=/usr/lib/jvm/java-7-oracle
+ source_parcel_environment
+ '[' '!' -z '' ']'
+ '[' /usr/lib/jvm/java-7-oracle '!=' '' ']'
+ JAVA=/usr/lib/jvm/java-7-oracle/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
+ [[ firehose == \f\i\r\e\h\o\s\e ]]
+ shift
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema'
+ [[ --pipeline-type SERVICE_MONITORING =~ SERVICE_MONITORING ]]
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000'
+ [[ --pipeline-type SERVICE_MONITORING =~ SERVICE_MONITORING ]]
+ echo 'Removing any leveldbjni library files left over from previous runs'
++ pwd
+ rm -fv '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR/libleveldbjni-64-*'
++ pwd
+ MGMT_JAVA_OPTS='-server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR'
++ pwd
+ MGMT_CLASSPATH='/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*'
++ replace_pid -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh
++ echo -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh
++ sed 's#{{PID}}#26846#g'
+ FIREHOSE_JAVA_OPTS='-Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh'
+ echo_and_exec /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*' com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
+ echo 'Executing: /usr/lib/jvm/java-7-oracle/bin/java' -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*' com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
+ exec /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp '/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/*' com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf

Re: Failed to start Event Server and Service Monitor

Explorer
stdout:
四 12月 24 11:31:29 CST 2015
JAVA_HOME=/usr/lib/jvm/java-7-oracle
Removing any leveldbjni library files left over from previous runs
Executing: /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp /run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/* com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
四 12月 24 11:31:41 CST 2015
JAVA_HOME=/usr/lib/jvm/java-7-oracle
Removing any leveldbjni library files left over from previous runs
Executing: /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp /run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/* com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
四 12月 24 11:31:49 CST 2015
JAVA_HOME=/usr/lib/jvm/java-7-oracle
Removing any leveldbjni library files left over from previous runs
Executing: /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp /run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/* com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
四 12月 24 11:31:58 CST 2015
JAVA_HOME=/usr/lib/jvm/java-7-oracle
Removing any leveldbjni library files left over from previous runs
Executing: /usr/lib/jvm/java-7-oracle/bin/java -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-SERVICEMONITOR-cloudera02.pscsi.com.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/usr/share/cmf/schema -XX:PermSize=128m -Dsun.rmi.transport.tcp.handshakeTimeout=10000 -Dsun.rmi.transport.tcp.responseTimeout=10000 -Dlibrary.leveldbjni.path=/run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/usr/lib/cmf/service/common/killparent.sh -cp /run/cloudera-scm-agent/process/134-cloudera-mgmt-SERVICEMONITOR:/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/* com.cloudera.cmon.firehose.Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf

Re: Failed to start Event Server and Service Monitor

Explorer
it's something like : https://community.cloudera.com/t5/Cloudera-Manager-Installation/Event-Server-fails-to-start/td-p/314... but the solution does not work on my case...

Re: Failed to start Event Server and Service Monitor

Explorer
Ok ,done, after chmod -R 777 /var/* , it works, not sure why though...

Re: Failed to start Event Server and Service Monitor

Super Guru

The important part of the exception that tells what the root cause was is truncated in the paste into this thread.  We see:

 

Error starting EventServer
java.lang.RuntimeException: Could not create version directory at /var/lib/cloudera-scm-eventserver/version

 

Based on the fact that setting permissions on /var helped indicates that the reason that the version directory could not be created is that /var/lib was that the CM user (normally cloudera-scm) did not have permission to create /var/lib/cloudera-scm-eventserver/version

 

You do not need 777.  The following should suffice:

 

drwxrwxr-x   4 cloudera-scm cloudera-scm 4096 Sep 30 11:42 cloudera-scm-eventserver

drwxrwxr-x   6 cloudera-scm cloudera-scm 4096 Sep 30 11:42 cloudera-service-monitor

 

-Ben

Highlighted

Re: Failed to start Event Server and Service Monitor

Explorer

Thanks, but error is terrifying , java outofmemory...it turned out to be a priviledge issue

Re: Failed to start Event Server and Service Monitor

New Contributor

Yes, I think it should have folder like what you showed:

drwxrwxr-x   4 cloudera-scm cloudera-scm 4096 Sep 30 11:42 cloudera-scm-eventserver

drwxrwxr-x   6 cloudera-scm cloudera-scm 4096 Sep 30 11:42 cloudera-service-monitor

 

But I don't know why I missed those foleders ?