5 * 60 * 1000);
// Both user table and index table should not be in enabling/disabling state at a time.
// If enable is progress for user table then index table should be in disabled state.
// If disable is progress for index table wait until table disabled.
if (waitUntilTableDisabled(timeout, indexTableName, am.getZKTable())) {
new EnableTableHandler(master, Bytes.toBytes(indexTableName), master.getCatalogTracker(),
am, false).process();
} else {
if (LOG.isDebugEnabled()) {
LOG.debug("Table " + indexTableName + " not in DISABLED state to enable.");
}