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) -> {
|
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);
|
||||||
|
|
Loading…
Reference in New Issue