The status command checks component statuses and the overall health of the BDD cluster.
./bdd-admin.sh status [option <arg>]
status supports the following options.
Option | Description |
---|---|
-c, --component <component(s)> | A comma-separated list of the
components to run on:
|
-n, --node <hostname(s)> | A comma-separated list of the nodes to run on. Each must be defined in $BDD_HOME/BDD_manager/conf/bdd.conf. |
--health-check | Returns the health of the cluster
and the Hive Table Detector. When specified, the
-c or
-n options can't be included.
If the healthcheck fails, information on what went wrong can be found in the Studio and Data Processing logs. |
If no options are specified, the script returns the statuses of all supported components.
./bdd-admin.sh status
./bdd-admin.sh status --health-check
[2015/08/04 11:38:54 -0400] [Admin Server] Checking the health of BDD cluster... [2015/08/04 11:40:06 -0400] [web009.us.example.com] Check BDD functionality......Pass! [2015/08/04 11:40:08 -0400] [web009.us.example.com] Check Hive Data Detector health......Hive Data Detector has previously run. [2015/08/04 11:40:10 -0400] [Admin Server] Successfully checked statuses.