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:
parent
1366c4d393
commit
10180e232e
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue