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:
parent
101023bcc1
commit
dc2cf6ab5c
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue