Created 02-27-2017 02:51 AM
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.
Created 02-28-2017 08:52 AM
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
Created 02-27-2017 10:45 PM
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
Created 02-28-2017 06:37 AM
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.
Created 02-28-2017 08:52 AM
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