HBASE-24441 CacheConfig details logged at Store open is not really u… (#1801)

Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: binlijin <binlijin@gmail.com>
This commit is contained in:
xincunSong 2020-06-09 14:18:21 +08:00 committed by GitHub
parent eee06c2d7e
commit 15ddded26b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -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);
}
/**

View File

@ -379,6 +379,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);
}
/**