Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11007

BLOCKCACHE in schema descriptor seems not aptly named

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.19
    • 0.99.0
    • None
    • None

    Description

      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

      Attachments

        1. 11007v2.txt
          9 kB
          Michael Stack
        2. 11007.txt
          11 kB
          Michael Stack

        Activity

          People

            varunsharma Varun Sharma
            varunsharma Varun Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: