update logs
This commit is contained in:
parent
c43d660d2b
commit
de292d09fc
|
@ -4156,9 +4156,8 @@ public class HMaster extends HBaseServerBase<MasterRpcServices> implements Maste
|
|||
}
|
||||
RegionMetrics regionMetrics = sl.getRegionMetrics().get(regionInfo.getRegionName());
|
||||
if (regionMetrics == null) {
|
||||
LOG.warn(String.format(
|
||||
"Can not get compaction details for the region: %s , it may be not online.",
|
||||
regionInfo.getRegionNameAsString()));
|
||||
LOG.warn("Can not get compaction details for the region: {} , it may be not online.",
|
||||
regionInfo.getRegionNameAsString());
|
||||
continue;
|
||||
}
|
||||
if (regionMetrics.getCompactionState() == CompactionState.MAJOR) {
|
||||
|
|
Loading…
Reference in New Issue