@Override
  public void close() throws IOException {
    try {
      cleanupHbckZnode();
      unlockHbck();
    } catch (Exception io) {
      LOG.warn(io.toString(), io);
    } finally {
      if (zkw != null) {
        zkw.close();
        zkw = null;
      }
      IOUtils.closeQuietly(admin, e -> LOG.warn("", e));
      IOUtils.closeQuietly(meta, e -> LOG.warn("", e));
      IOUtils.closeQuietly(connection, e -> LOG.warn("", e));
    }
  }
Contacts the master and prints out cluster-wide information
@return 0 on success, non-zero on failure
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java