public HRegion createLocalHRegion(RegionInfo info, Configuration conf, TableDescriptor desc,
    WAL wal) throws IOException {
    ChunkCreator.initialize(MemStoreLAB.CHUNK_SIZE_DEFAULT, false, 0, 0, 0, null,
      MemStoreLAB.INDEX_CHUNK_SIZE_PERCENTAGE_DEFAULT);
    return HRegion.createHRegion(info, getDataTestDir(), conf, desc, wal);
  }
Create an HRegion that writes to the local tmp dirs with specified wal
@param info regioninfo
@param conf configuration
@param desc table descriptor
@param wal  wal for this region.
@return created hregion
hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java