Reply
New Contributor
Posts: 1
Registered: ‎09-29-2014

Issue with Host Monitor service

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!

Expert Contributor
Posts: 126
Registered: ‎11-01-2013

Re: Issue with Host Monitor service

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