HBASE-27391 Downgrade ERROR log to DEBUG in ConnectionUtils.updateStats (#4804)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
3aad87664d
commit
ad395b49ff
|
@ -604,8 +604,10 @@ public final class ConnectionUtils {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue