Community Articles

Find and share helpful community-sourced technical articles.
avatar
Expert Contributor

Caution: Running bad queries against the AMS hbase tables can crash the AMS collector PID due to load. Use it for debugging purpose.

To connect to AMS Hbase instance which is running in distributed mode.

cd /usr/lib/ambari-metrics-collector/bin

./sqlline.py localhost:2181:/ams-hbase-secure

To get the correct znode, get the value of "zookeeper.znode.parent" from AMS collector configs.

23389-screen-shot-2017-08-02-at-15414-am.png

23390-screen-shot-2017-08-02-at-15435-am.png

1,539 Views