ConstantSizeRegionSplitPolicy.class.getName());
indexTableDesc.setMaxFileSize(Long.MAX_VALUE);
LOG.info("Setting the split policy for the Index Table " + indexTableName
+ " as ConstantSizeRegionSplitPolicy with maxFileSize as " + Long.MAX_VALUE + '.');
HRegionInfo[] newRegions = getHRegionInfos(indexTableDesc, splitKeys);
new CreateTableHandler(master, master.getMasterFileSystem(), master.getServerManager(),
indexTableDesc, master.getConfiguration(), newRegions, master.getCatalogTracker(),
master.getAssignmentManager()).process();
// Disable the index table so that when we enable the main table both can be enabled
if (disableTable) {
new DisableTableHandler(master, Bytes.toBytes(indexTableName), master.getCatalogTracker(),