You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Varun Sharma (JIRA)" <ji...@apache.org> on 2014/04/17 01:06:14 UTC

[jira] [Created] (HBASE-11007) BLOCKCACHE in schema descriptor seems not aptly named

Varun Sharma created HBASE-11007:
------------------------------------

             Summary: 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)