You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bi...@apache.org on 2020/06/09 06:20:01 UTC
[hbase] branch branch-2.3 updated: HBASE-24441 CacheConfig details logged at Store open is not really u… (#1801)
This is an automated email from the ASF dual-hosted git repository.
binlijin pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.3 by this push:
new d046a4c HBASE-24441 CacheConfig details logged at Store open is not really u… (#1801)
d046a4c is described below
commit d046a4ccfa31c65ffc47e6dbb249e0d15c58a83a
Author: xincunSong <36...@qq.com>
AuthorDate: Tue Jun 9 14:18:21 2020 +0800
HBASE-24441 CacheConfig details logged at Store open is not really u… (#1801)
Signed-off-by: Anoop Sam John <an...@apache.org>
Signed-off-by: binlijin <bi...@gmail.com>
---
.../src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java | 2 --
.../src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java | 1 +
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
index be4c31f..b0728d5 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
@@ -204,8 +204,6 @@ public class CacheConfig {
this.cacheCompactedDataOnWriteThreshold = getCacheCompactedBlocksOnWriteThreshold(conf);
this.blockCache = blockCache;
this.byteBuffAllocator = byteBuffAllocator;
- LOG.info("Created cacheConfig: " + this + (family == null ? "" : " for family " + family) +
- " with blockCache=" + blockCache);
}
/**
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 a3e3150..8acd5e2 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
@@ -386,6 +386,7 @@ public class HStore implements Store, HeapSize, StoreConfigInformation,
protected void createCacheConf(final ColumnFamilyDescriptor family) {
this.cacheConf = new CacheConfig(conf, family, region.getBlockCache(),
region.getRegionServicesForStores().getByteBuffAllocator());
+ LOG.info("Created cacheConfig: " + this.getCacheConfig() + " for " + this);
}
/**