Skip to content

Ambari Service Check is a simple shell script to invoke service check for some or all components on the stack

License

Notifications You must be signed in to change notification settings

dchitlangia/scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

scripts

ambari-service-check.sh

This script triggers service checks for components which are not in maintenance mode. Once service checks are triggered, you can monitor their progress from Ambari UI.

It can be used with following arguments:

  • -u <ambariAdminUser>
  • -p <ambariAdminPassword>
  • -s <all|comma-separated list>

Optional arguments:

  • [-t <ambariServerHost>]
  • [-n <ambariServerPort>]
  • [-c <clusterName>]

If not specified, default value for -t : localhost

If not specified, default value for -p : 8080

If executing this script on Ambari Server host, you do not need to specify -t and -p options

  • Example: Trigger Service Check for all components

    • sh ambari-service-check.sh -u admin -p admin -s all
  • Example: Trigger Service Check for only for HIVE, HDFS, and KNOX

    • sh ambari-service-check.sh -u admin -p admin -s hive,hdfs,knox

About

Ambari Service Check is a simple shell script to invoke service check for some or all components on the stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%