[ 
https://issues.apache.org/jira/browse/HBASE-24441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

song XinCun updated HBASE-24441:
--------------------------------
    Comment: was deleted

(was: Log after patch would look like:
{code:java}
2020-05-28 21:35:46,842 INFO  [StoreOpener-3e735faebf71bb030f365fac2427f7bd-1] 
hfile.CacheConfig: Created cacheConfig: cacheDataOnRead=true, 
cacheDataOnWrite=true, cacheIndexesOnWrite=true, cacheBloomsOnWrite=true, 
cacheEvictOnClose=false, cacheDataCompressed=false, prefetchOnOpen=false for 
family {NAME => 'cf', VERSIONS => '1', EVICT_BLOCKS_ON_CLOSE => 'false', 
NEW_VERSION_BEHAVIOR => 'false', KEEP_DELETED_CELLS => 'FALSE', 
CACHE_DATA_ON_WRITE => 'false', DATA_BLOCK_ENCODING => 'DIFF', TTL => 
'FOREVER', MIN_VERSIONS => '0', REPLICATION_SCOPE => '0', BLOOMFILTER => 'ROW', 
CACHE_INDEX_ON_WRITE => 'false', IN_MEMORY => 'false', CACHE_BLOOMS_ON_WRITE => 
'false', PREFETCH_BLOCKS_ON_OPEN => 'false', COMPRESSION => 'SNAPPY', 
BLOCKCACHE => 'true', BLOCKSIZE => '65536'} in region 
table_100B_10,user5246,1590642270538.3e735faebf71bb030f365fac2427f7bd. with 
blockCache=org.apache.hadoop.hbase.io.hfile.CombinedBlockCache@47c0732b
{code}
The region info which contains table and region name is added to the log.)

> CacheConfig details logged at Store open is not really useful
> -------------------------------------------------------------
>
>                 Key: HBASE-24441
>                 URL: https://issues.apache.org/jira/browse/HBASE-24441
>             Project: HBase
>          Issue Type: Improvement
>          Components: logging, regionserver
>    Affects Versions: 3.0.0-alpha-1
>            Reporter: Anoop Sam John
>            Assignee: song XinCun
>            Priority: Minor
>
> CacheConfig constructor is logging 'this' object at INFO level. This log 
> comes during Store open(As CacheConfig instance for that store is created). 
> As the log is at CacheConfig only, we don't get to know this is for which 
> region:store. So not really useful log.
> {code}
> blockCache=org.apache.hadoop.hbase.io.hfile.CombinedBlockCache@7bc02941, 
> cacheDataOnRead=true, cacheDataOnWrite=true, cacheIndexesOnWrite=false, 
> cacheBloomsOnWrite=false, cacheEvictOnClose=false, cacheDataCompressed=false, 
> prefetchOnOpen=false
> {code}
> Also during every compaction also this logs keeps coming. This is because 
> during compaction we create new CacheConfig based on the HStore level 
> CacheConfig object.  We can avoid this log with every compaction happening.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to