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
748cad655c
commit
23a56331db
|
@ -579,8 +579,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