public static byte[] keyOnly(byte[] b) {
    if (b == null) return b;
    int rowlength = Bytes.toShort(b, 0);
    byte[] result = new byte[rowlength];
    System.arraycopy(b, Bytes.SIZEOF_SHORT, result, 0, rowlength);
    return result;
  }
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