public void start() {
      if (usageCount++ == 0) {
        ManyMiniCluster.Builder b = ManyMiniCluster.create(new File(testDir));
        if (testConf != null) {
          b.hbaseConf(HBaseConfiguration.create(testConf));
        }
        cluster = b.build();
        cluster.start();
        this.hbaseConf = cluster.getHBaseConf();
        jobConf = cluster.getJobConf();
        fileSystem = cluster.getFileSystem();
        hiveConf = cluster.getHiveConf();
      }
    }
class used to encapsulate a context which is normally used by
a single TestSuite or across TestSuites when multi-threaded testing is turned on
itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/hbase/SkeletonHBaseTest.java