Skip to content

Commit f76716b

Browse files
committed
HBASE-27391 Downgrade ERROR log to DEBUG in ConnectionUtils.updateStats (#4804)
Signed-off-by: Duo Zhang <[email protected]>
1 parent f24e7b5 commit f76716b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionUtils.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,10 @@ static void updateStats(Optional<ServerStatisticTracker> optStats,
624624
resp.getResults().forEach((regionName, regionResult) -> {
625625
ClientProtos.RegionLoadStats stat = regionResult.getStat();
626626
if (stat == null) {
627-
LOG.error("No ClientProtos.RegionLoadStats found for server={}, region={}", serverName,
628-
Bytes.toStringBinary(regionName));
627+
if (LOG.isDebugEnabled()) {
628+
LOG.debug("No ClientProtos.RegionLoadStats found for server={}, region={}", serverName,
629+
Bytes.toStringBinary(regionName));
630+
}
629631
return;
630632
}
631633
RegionLoadStats regionLoadStats = ProtobufUtil.createRegionLoadStats(stat);

0 commit comments

Comments
 (0)