Skip to content

Commit 23a5633

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

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
@@ -579,8 +579,10 @@ static void updateStats(Optional<ServerStatisticTracker> optStats,
579579
resp.getResults().forEach((regionName, regionResult) -> {
580580
ClientProtos.RegionLoadStats stat = regionResult.getStat();
581581
if (stat == null) {
582-
LOG.error("No ClientProtos.RegionLoadStats found for server={}, region={}", serverName,
583-
Bytes.toStringBinary(regionName));
582+
if (LOG.isDebugEnabled()) {
583+
LOG.debug("No ClientProtos.RegionLoadStats found for server={}, region={}", serverName,
584+
Bytes.toStringBinary(regionName));
585+
}
584586
return;
585587
}
586588
RegionLoadStats regionLoadStats = ProtobufUtil.createRegionLoadStats(stat);

0 commit comments

Comments
 (0)