Reply
New Contributor
Posts: 2
Registered: ‎02-27-2017
Accepted Solution

information about health tests

Dear experts!

Could you help me with one question?

Where can I find information about the resault of health tests in regard to hadoop cluster?

I would like to find information in system logs on file system.

Which logs do content information?

 

Best and Regards.

Posts: 581
Topics: 3
Kudos: 82
Solutions: 54
Registered: ‎08-16-2016

Re: information about health tests

I am not entirely sure what you are looking for with this request.  I find the most useful information in the main logs for the process, the stdout and stderr logs for each running process, and the CM agent logs.  If there is an issue that is causing a health test to fail it is like to be in one of these files, but that is not a guarentee.  I don't know for certain but I believe the pass/fail of the tests are kept in the Host or Service monitor databases.

 

Service logs: /var/log/<name of service>

Running process logs: /var/run/cloudera-scm-agent/process/<pid-servicename>/logs

CM Agent logs: /var/log/cloudera-scm-agent/

 

I also encourage the use of the CM api.  Most of these logs can be accessed through it and probably health tests (pass/fail) themselvs, if not at least the alerts the raise.

 

https://cloudera.github.io/cm_api/apidocs/v15/index.html

 

 

New Contributor
Posts: 2
Registered: ‎02-27-2017

Re: information about health tests

 

Thank you for your response.

I'm going to look through API.

I have found information about results of health tests in the "AlertPublisher" logs (flat file).

I discovered information in regard to healt tests put to database ("Apache Lucene") the Event Server.

Can I receive information from Event Server ("Apache Lucene") to flat file and use for this the tools of Cloudera Manager?

 

Best and Regards.

 

Highlighted
Posts: 394
Topics: 1
Kudos: 87
Solutions: 51
Registered: ‎04-22-2014

Re: information about health tests

Hi @admcdh,

 

It sounds as if you are looking to export events data to a flat file.  If so, you can use the "events" api like this:

 

http://my_cmhost.example.com:7180/api/v15/events

 

(your api version may differ)

 

See:

 

https://cloudera.github.io/cm_api/apidocs/v15/index.html

 

Ben

Announcements