[ 
https://issues.apache.org/jira/browse/HBASE-11007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13972093#comment-13972093
 ] 

Lars Hofhansl commented on HBASE-11007:
---------------------------------------

Debatable. There aren't many index/bloomfilter blocks and not caching those 
would lead to truly terrible performance. Hence the only useful option is 
whether enable or disable caching of data blocks.
We can't rename those without backward compatibility issues.

> BLOCKCACHE in schema descriptor seems not aptly named
> -----------------------------------------------------
>
>                 Key: HBASE-11007
>                 URL: https://issues.apache.org/jira/browse/HBASE-11007
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.94.18
>            Reporter: Varun Sharma
>            Assignee: Varun Sharma
>            Priority: Minor
>
> Hi,
> It seems that setting BLOCKCACHE key to false will disable the Data blocks 
> from being cached but will continue to cache bloom and index blocks. This 
> same property seems to be called cacheDataOnRead inside CacheConfig.
> Should this be called CACHE_DATA_ON_READ instead of BLOCKCACHE similar to the 
> other CACHE_DATA_ON_WRITE/CACHE_INDEX_ON_WRITE. We got quite confused and 
> ended up adding our own property CACHE_DATA_ON_READ - we also added some unit 
> tests for the same.
> What do folks think about this ?
> Thanks
> Varun



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to