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

BLOCKCACHE in schema descriptor seems not aptly named

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.94.19
    • Fix Version/s: 0.99.0
    • Component/s: None
    • Labels:
      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. 11007.txt
          11 kB
          stack
        2. 11007v2.txt
          9 kB
          stack

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: