private static void addRegionsToMeta(final MasterProcedureEnv env,
    final TableDescriptor tableDescriptor, final List<RegionInfo> regionInfos) throws IOException {
    MetaTableAccessor.addRegionsToMeta(env.getMasterServices().getConnection(), regionInfos,
      tableDescriptor.getRegionReplication());
  }
Add the specified set of regions to the hbase:meta table.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/CreateTableProcedure.java