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

Backport HBASE-14098 (Allow dropping caches behind compactions) to 0.98

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.15
    • None
    • None
    • Reviewed

    Description

      HBASE-14098 adds a new configuration toggle - "hbase.hfile.drop.behind.compaction" - which if set to "true" tells compactions to drop pages from the OS blockcache after write. It's on by default where committed so far but a backport to 0.98 would default it to off. (The backport would also retain compat methods to LimitedPrivate interface StoreFileScanner.) What could make it a controversial change in 0.98 is it changes the default setting of 'hbase.regionserver.compaction.private.readers' from "false" to "true". I think it's fine, we use private readers in production. They're stable and do not present perf issues.

      Attachments

        1. v3-v2.diff
          2 kB
          Shaohui Liu
        2. HBASE-14404-0.98-v3.patch
          36 kB
          Shaohui Liu
        3. HBASE-14404-0.98.patch
          35 kB
          Andrew Kyle Purtell
        4. HBASE-14404-0.98.patch
          37 kB
          Andrew Kyle Purtell

        Issue Links

          Activity

            People

              liushaohui Shaohui Liu
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: