HBASE-27391 Downgrade ERROR log to DEBUG in ConnectionUtils.updateStats (#4804)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
Bryan Beaudreault 2022-09-28 11:31:39 -04:00 committed by Bryan Beaudreault
parent 3aad87664d
commit ad395b49ff
1 changed files with 4 additions and 2 deletions

View File

@ -604,8 +604,10 @@ public final class ConnectionUtils {
resp.getResults().forEach((regionName, regionResult) -> { resp.getResults().forEach((regionName, regionResult) -> {
ClientProtos.RegionLoadStats stat = regionResult.getStat(); ClientProtos.RegionLoadStats stat = regionResult.getStat();
if (stat == null) { if (stat == null) {
LOG.error("No ClientProtos.RegionLoadStats found for server={}, region={}", serverName, if (LOG.isDebugEnabled()) {
Bytes.toStringBinary(regionName)); LOG.debug("No ClientProtos.RegionLoadStats found for server={}, region={}", serverName,
Bytes.toStringBinary(regionName));
}
return; return;
} }
RegionLoadStats regionLoadStats = ProtobufUtil.createRegionLoadStats(stat); RegionLoadStats regionLoadStats = ProtobufUtil.createRegionLoadStats(stat);