Skip to content

Commit

Permalink
HBASE-27391 Downgrade ERROR log to DEBUG in ConnectionUtils.updateSta…
Browse files Browse the repository at this point in the history
…ts (#4804)

Signed-off-by: Duo Zhang <[email protected]>
  • Loading branch information
bbeaudreault authored Sep 28, 2022
1 parent 748cad6 commit 23a5633
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,10 @@ static void updateStats(Optional<ServerStatisticTracker> optStats,
resp.getResults().forEach((regionName, regionResult) -> {
ClientProtos.RegionLoadStats stat = regionResult.getStat();
if (stat == null) {
LOG.error("No ClientProtos.RegionLoadStats found for server={}, region={}", serverName,
Bytes.toStringBinary(regionName));
if (LOG.isDebugEnabled()) {
LOG.debug("No ClientProtos.RegionLoadStats found for server={}, region={}", serverName,
Bytes.toStringBinary(regionName));
}
return;
}
RegionLoadStats regionLoadStats = ProtobufUtil.createRegionLoadStats(stat);
Expand Down

0 comments on commit 23a5633

Please sign in to comment.