diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java index 4d0e165456d..1eb39028f45 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java @@ -1425,6 +1425,13 @@ public class AssignmentManager { this.statTimestamp = EnvironmentEdgeManager.currentTime(); update(regionStates.getRegionsStateInTransition(), statTimestamp); update(regionStates.getRegionFailedOpen(), statTimestamp); + + if (LOG.isDebugEnabled() && ritsOverThreshold != null && !ritsOverThreshold.isEmpty()) { + LOG.debug("RITs over threshold: {}", + ritsOverThreshold.entrySet().stream() + .map(e -> e.getKey() + ":" + e.getValue().getState().name()) + .collect(Collectors.joining("\n"))); + } } private void update(final Collection regions, final long currentTime) {