protected String newTableName(String prefix) {
    String name = null;
    int tries = 100;
    do {
      name = prefix + "_" + Math.abs(new Random().nextLong());
    } while (tableNames.contains(name) && --tries > 0);
    if (tableNames.contains(name))
      throw new IllegalStateException("Couldn't find a unique table name, tableNames size: " + tableNames.size());
    tableNames.add(name);
    return name;
  }
Allow tests to alter the default MiniCluster configuration.
(requires static initializer block as all setup here is static)
itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/hbase/SkeletonHBaseTest.java