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 binlijin
parent 101023bcc1
commit dc2cf6ab5c
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

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