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

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

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.15
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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. HBASE-14404-0.98.patch
          35 kB
          Andrew Kyle Purtell
        2. HBASE-14404-0.98.patch
          37 kB
          Andrew Kyle Purtell
        3. v3-v2.diff
          2 kB
          Shaohui Liu
        4. HBASE-14404-0.98-v3.patch
          36 kB
          Shaohui Liu

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: