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
eee06c2d7e
commit
15ddded26b
|
@ -204,8 +204,6 @@ public class CacheConfig {
|
||||||
this.cacheCompactedDataOnWriteThreshold = getCacheCompactedBlocksOnWriteThreshold(conf);
|
this.cacheCompactedDataOnWriteThreshold = getCacheCompactedBlocksOnWriteThreshold(conf);
|
||||||
this.blockCache = blockCache;
|
this.blockCache = blockCache;
|
||||||
this.byteBuffAllocator = byteBuffAllocator;
|
this.byteBuffAllocator = byteBuffAllocator;
|
||||||
LOG.info("Created cacheConfig: " + this + (family == null ? "" : " for family " + family) +
|
|
||||||
" with blockCache=" + blockCache);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -379,6 +379,7 @@ public class HStore implements Store, HeapSize, StoreConfigInformation,
|
||||||
protected void createCacheConf(final ColumnFamilyDescriptor family) {
|
protected void createCacheConf(final ColumnFamilyDescriptor family) {
|
||||||
this.cacheConf = new CacheConfig(conf, family, region.getBlockCache(),
|
this.cacheConf = new CacheConfig(conf, family, region.getBlockCache(),
|
||||||
region.getRegionServicesForStores().getByteBuffAllocator());
|
region.getRegionServicesForStores().getByteBuffAllocator());
|
||||||
|
LOG.info("Created cacheConfig: " + this.getCacheConfig() + " for " + this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue