public HRegion createLocalHRegion(RegionInfo info, TableDescriptor desc) throws IOException {
    return createRegionAndWAL(info, getDataTestDir(), getConfiguration(), desc);
  }
Create an HRegion that writes to the local tmp dirs. Creates the WAL for you. Be sure to call
{@link HBaseTestingUtil#closeRegionAndWAL(HRegion)} when you're finished with it.
hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java