Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

what all the checks covered under service checks

avatar
Contributor

Hi All,

I was running the "Run Service Checks" from service actions and getting a overall status as success. I'm interested to know what all the checks covered under this for each service.

Is there a documentation on this? (or) anyone listed out this? Please share the information

Thanks,

Surya

1 ACCEPTED SOLUTION

avatar

@Surya Rao this documents will tell you what are the service checks available

https://gist.github.com/mr-jstraub/0b55de318eeae6695c3f#payload-to-run-all-service-checks

and generally in each service checks , basic commands or operation relalted to the corresponding compoenent is executed and if result is successful the service check is passed

for more info you can run the service check and see what operation they are doing , for ex:

HDFS runs safemode command for service check:

safemode_command = format("dfsadmin -fs {namenode_address} -safemode get | grep OFF")

you can refer to the following file for hdfs service check:

https://github.com/apache/ambari/blob/0aa21bc02822f83ce14f806fc2cb543c66af2f07/ambari-server/src/mai...

same way there will be option for other components too

View solution in original post

2 REPLIES 2

avatar

@Surya Rao this documents will tell you what are the service checks available

https://gist.github.com/mr-jstraub/0b55de318eeae6695c3f#payload-to-run-all-service-checks

and generally in each service checks , basic commands or operation relalted to the corresponding compoenent is executed and if result is successful the service check is passed

for more info you can run the service check and see what operation they are doing , for ex:

HDFS runs safemode command for service check:

safemode_command = format("dfsadmin -fs {namenode_address} -safemode get | grep OFF")

you can refer to the following file for hdfs service check:

https://github.com/apache/ambari/blob/0aa21bc02822f83ce14f806fc2cb543c66af2f07/ambari-server/src/mai...

same way there will be option for other components too

avatar
Contributor

@Former Member Sharma, Thank you for the quick reply..

I was trying to bring the github code to easily readable format in excel spreadsheet. For instance, for HDFS service the service checks are as follows..

5592-hdfs-service-check.jpg

Trying to prepare the same for rest of the services.. if anyone already did this exercise, please save my time. 🙂

Thanks

Surya