0

After starting all the cloudera services in a container through clouera/quickstart image, I need to verify if all services(like HDFS,HBase,Hive etc.) are up or not.. If any service did not come up,try restarting it again or display a message... Can there be a shell-script or java code to verify this ? Need help with the code..

3 Answers3

0

Best way to check is using cloudera Manger web UI, you can see the status of every installed service

You can refer below link for Command line options

http://www.cloudera.com/documentation/enterprise/5-6-x/topics/cdh_admin_config.html

BruceWayne
  • 3,286
  • 4
  • 25
  • 35
  • No, actually i need to do some automation where i need to check for the service status, is not started then try restarting it... or atleast display a message to user about which services failed to start... – sahil soni Jul 29 '16 at 06:06
0

No, actually i need to do some automation where i need to check for the service status, is not started then try restarting it... or atleast display a message to user about which services failed to start...

0

I think the Cloudera Manager API is what you're looking for: https://cloudera.github.io/cm_api/

Justin Kestelyn
  • 924
  • 5
  • 12