public static HRegion createHRegion(final RegionInfo info, final Path rootDir,
    final Configuration conf, final TableDescriptor hTableDescriptor, final WAL wal,
    final boolean initialize) throws IOException {
    return createHRegion(info, rootDir, conf, hTableDescriptor, wal, initialize, null);
  }
Convenience method creating new HRegions. Used by createTable.
@param info       Info for region to create.
@param rootDir    Root directory for HBase instance
@param wal        shared WAL
@param initialize - true to initialize the region
@return new HRegion
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java