Anoop Sam John created HBASE-24441:
--------------------------------------

             Summary: 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
            Reporter: Anoop Sam John
            Assignee: Anoop Sam John


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