public static int randomFreePort() {
    return HBaseCommonTestingUtil.randomFreePort();
  }
Creates a random table with the given parameters
hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java