@Override
  public ClusterMetrics getClusterMetrics() throws IOException {
    HMaster master = getMaster();
    return master == null ? null : master.getClusterMetrics();
  }
Shut down the mini HBase cluster
hbase-server/src/test/java/org/apache/hadoop/hbase/SingleProcessHBaseCluster.java