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.

Issue with Host Monitor service

Issue with Host Monitor service

New Contributor

When trying to run the hostmonitor service from cloudera i'm recieving this error message:

 

Supervisor returned FATAL. Please check the role log file, stderr, or stdout.
Program: mgmt/mgmt.sh ["firehose","--pipeline-type","HOST_MONITORING"]

 

and this is from the log.

 

3:49:53.719 PM ERROR com.cloudera.cmon.firehose.Main
Error creating LevelDB timeseries store in directory /var/lib/cloudera-host-monitor/ts
org.fusesource.leveldbjni.internal.NativeDB$DBException: Invalid argument: /tmp/hadoop/cloudera-host-monitor/ts/ts_entity_metadata: does not exist (create_if_missing is false)
at org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:194)
at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:212)
at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
at com.cloudera.cmon.tstore.leveldb.LDBUtils.openVersionedDB(LDBUtils.java:233)
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:445)

 

what needs to be done in order to solve it?

 

Thanks!

1 REPLY 1

Re: Issue with Host Monitor service

Expert Contributor
Please check for the appropriate permissions for the service to write into those directories. If directories permission is correct and it still complains it did not find that specific directory or file, go ahead and create one and try to run the hostmonitor and see if it resolves the issue
Em Jay