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.

[no leveldbjni32-1.7-cloudera.2-SNAPSHOT in java.library.path starting host & servicemonitor

[no leveldbjni32-1.7-cloudera.2-SNAPSHOT in java.library.path starting host & servicemonitor

New Contributor

Trying to start mgmt services in CDH5 and get the error ...

/usr/java/jdk1.7.0_51/bin/java -server -XX:+UseConcMarkSweepGC -XX:-CMSConcurrentMTEnabled -XX:+UseParNewGC -Dmgmt.log.file=mgmt-cmf-mgmt-HOSTMONITOR-IRA99936.inrev.gov.uk.log.out -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfirehose.schema.dir=/opt/cloudera-manager/cm-5.0.0/share/cmf/schema -Xms268435456 -Xmx268435456 -XX:OnOutOfMemoryError=/opt/cloudera-manager/cm-5.0.0/lib64/cmf/service/common/killparent.sh -cp '/opt/cloudera-manager/cm-5.0.0/run/cloudera-scm-agent/process/338-cloudera-mgmt-HOSTMONITOR:/usr/share/java/mysql-connector-java.jar:/opt/cloudera-manager/cm-5.0.0/share/cmf/lib/postgresql-9.0-801.jdbc4.jar:/usr/share/java/oracle-connector-java.jar:/opt/cloudera-manager/cm-5.0.0/share/cmf/lib/*' com.cloudera.cmon.firehose.Main --pipeline-type HOST_MONITORING --mgmt-home /opt/cloudera-manager/cm-5.0.0/share/cmf
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni32-1.7-cloudera.2-SNAPSHOT in java.library.path, no leveldbjni-1.7-cloudera.2-SNAPSHOT in java.library.path, no leveldbjni in java.library.path]
        at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
        at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
        at org.fusesource.leveldbjni.JniDBFactory.<clinit>(JniDBFactory.java:48)
        at com.cloudera.cmon.tstore.leveldb.LDBTimeSeriesMetadataStore.openMetadataDB(LDBTimeSeriesMetadataStore.java:138)
        at com.cloudera.cmon.tstore.leveldb.LDBTimeSeriesMetadataStore.<init>(LDBTimeSeriesMetadataStore.java:128)
        at com.cloudera.cmon.firehose.Main.main(Main.java:446)

 

It is preventing me getting a full view of CDH and seeing all the graphs that I would like to explore.

 

Any ideas?

 

thanks

 

DeanW

2 REPLIES 2

Re: [no leveldbjni32-1.7-cloudera.2-SNAPSHOT in java.library.path starting host & servicemonitor

New Contributor

Same issue . Any ideas?

Highlighted

Re: [no leveldbjni32-1.7-cloudera.2-SNAPSHOT in java.library.path starting host & servicemonitor

New Contributor
I go t this working by

/etc/default/cloudera-scm-agent ->

Set CMF_AGENT_JAVA_HOME= JDK 7 path that shows on the error stack