You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ni...@apache.org on 2024/02/18 20:42:17 UTC
(hbase) branch branch-2 updated: HBASE-28142 Region Server Logs getting spammed with warning when storefile has no reader
This is an automated email from the ASF dual-hosted git repository.
nihaljain pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new a40b9fa41a8 HBASE-28142 Region Server Logs getting spammed with warning when storefile has no reader
a40b9fa41a8 is described below
commit a40b9fa41a8bb671510dddab47a6ba7567295a7b
Author: Anchal Kejriwal <55...@users.noreply.github.com>
AuthorDate: Mon Feb 19 01:24:18 2024 +0530
HBASE-28142 Region Server Logs getting spammed with warning when storefile has no reader
Signed-off-by: Nihal Jain <ni...@apache.org>
Signed-off-by: Rajeshbabu Chintaguntla <ra...@apache.org>
(cherry picked from commit b5175bad9deaf9caff8686e8957f8dd475e61f58)
---
.../src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
index e1502acac0e..9e9c2d1b19c 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
@@ -1615,7 +1615,7 @@ public class HStore
for (HStoreFile hsf : this.storeEngine.getStoreFileManager().getStorefiles()) {
StoreFileReader r = hsf.getReader();
if (r == null) {
- LOG.warn("StoreFile {} has a null Reader", hsf);
+ LOG.debug("StoreFile {} has a null Reader", hsf);
continue;
}
this.storeSize.addAndGet(r.length());
@@ -1784,7 +1784,7 @@ public class HStore
private LongStream getStoreFileAgeStream() {
return this.storeEngine.getStoreFileManager().getStorefiles().stream().filter(sf -> {
if (sf.getReader() == null) {
- LOG.warn("StoreFile {} has a null Reader", sf);
+ LOG.debug("StoreFile {} has a null Reader", sf);
return false;
} else {
return true;