LOG.error("Empty indices are passed to modify the table " + Bytes.toString(tableName));
return;
}
IndexManager idxManager = IndexManager.getInstance();
idxManager.removeIndices(table);
idxManager.addIndexForTable(table, indices);
LOG.info("Successfully updated the indexes for the table " + table + " to " + indices);
} else {
try {
tableRegionsAndLocations =
MetaReader.getTableRegionsAndLocations(master.getCatalogTracker(), tableName, true);