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

Potentially improve block locality during major compaction for old regions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 0.94.26, 0.98.10, 2.0.0
    • 1.0.0, 0.98.10, 0.94.27
    • None
    • None
    • Reviewed

    Description

      This might be a specific use case. But we have some regions which are no longer written to (due to the key). Those regions have 1 store file and they are very old, they haven't been written to in a while. We still use these regions to read from so locality would be nice.

      I propose putting a configuration option: something like
      hbase.hstore.min.locality.to.skip.major.compact [between 0 and 1]

      such that you can decide whether or not to skip major compaction for an old region with a single store file.

      I'll attach a patch, let me know what you guys think.

      Attachments

        1. HBASE-11195-0.98.v1.patch
          2 kB
          churro morales
        2. HBASE-11195-0.98.patch
          8 kB
          churro morales
        3. HBASE-11195-0.94.patch
          4 kB
          churro morales
        4. HBASE-11195.patch
          9 kB
          churro morales
        5. HBASE-11195.patch
          9 kB
          Andrew Kyle Purtell

        Activity

          People

            churromorales churro morales
            churromorales churro morales
            Votes:
            0 Vote for this issue
            Watchers:
            17 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: