Re: HBase cluster health java api

2017-01-19 Thread kiran
Thanks Ted.. Will explore On Thu, Jan 19, 2017 at 6:54 PM, Ted Yu wrote: > You can use the following method from HBaseAdmin: > > public ClusterStatus getClusterStatus() throws IOException { > > where ClusterStatus has getter for retrieving live server count: > > public

Re: HBase cluster health java api

2017-01-19 Thread Ted Yu
You can use the following method from HBaseAdmin: public ClusterStatus getClusterStatus() throws IOException { where ClusterStatus has getter for retrieving live server count: public int getServersSize() { and getter for retrieving dead server count: public int getDeadServers() { FYI

HBase cluster health java api

2017-01-19 Thread kiran
Dear All, Is there a way to check hbase cluster health (Master, Zookeeper, Regionservers) using java api. I have seen HBaseAdmin.clusterHealth but it checks for the health for master and zookeeper only. My use case is slightly different. I need to monitor the health of hbase cluster including