@Before
  public void setupCluster() throws Exception {
    setupConf(TEST_UTIL.getConfiguration());
    TEST_UTIL.startMiniCluster(NUM_RS);
    fs = TEST_UTIL.getDFSCluster().getFileSystem();
    rootDir = TEST_UTIL.getMiniHBaseCluster().getMaster().getMasterFileSystem().getRootDir();

  }
Setup the config for the cluster
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCompactSplitThread.java