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
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
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