HBASE-23094 Wrong log message in simpleRegionNormaliser while checking if merge is enabled.

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
This commit is contained in:
Sanjeet Nishad 2019-10-07 12:09:14 +05:30 committed by Peter Somogyi
parent 1366c4d393
commit 10180e232e
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ public class SimpleRegionNormalizer implements RegionNormalizer {
mergeEnabled = masterRpcServices.isSplitOrMergeEnabled(null, mergeEnabled = masterRpcServices.isSplitOrMergeEnabled(null,
RequestConverter.buildIsSplitOrMergeEnabledRequest(MasterSwitchType.MERGE)).getEnabled(); RequestConverter.buildIsSplitOrMergeEnabledRequest(MasterSwitchType.MERGE)).getEnabled();
} catch (org.apache.hbase.thirdparty.com.google.protobuf.ServiceException e) { } catch (org.apache.hbase.thirdparty.com.google.protobuf.ServiceException e) {
LOG.debug("Unable to determine whether split is enabled", e); LOG.debug("Unable to determine whether merge is enabled", e);
} }
if (!mergeEnabled && !splitEnabled) { if (!mergeEnabled && !splitEnabled) {
LOG.debug("Both split and merge are disabled for table: " + table); LOG.debug("Both split and merge are disabled for table: " + table);