This is an automated email from the ASF dual-hosted git repository.
bbeaudreault pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 23a56331dbe HBASE-27391 Downgrade ERROR log to DEBUG in
ConnectionUtils.updateStats (#4804)
23a56331dbe is described below
commit 23a56331dbeaa2016a27abbd1c094ce88bcf966a
Author: Bryan Beaudreault <[email protected]>
AuthorDate: Wed Sep 28 11:31:39 2022 -0400
HBASE-27391 Downgrade ERROR log to DEBUG in ConnectionUtils.updateStats
(#4804)
Signed-off-by: Duo Zhang <[email protected]>
---
.../main/java/org/apache/hadoop/hbase/client/ConnectionUtils.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionUtils.java
b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionUtils.java
index 61eb69ac09e..819c8db4018 100644
---
a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionUtils.java
+++
b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionUtils.java
@@ -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);