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

Freeze date tiered store files older than max age

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3.0, 0.98.18, 1.4.0, 2.0.0
    • 3.0.0-beta-2
    • Compaction
    • None

    Description

      In date tiered compaction, the store files older than max age are never touched by minor compactions. Here we introduce a 'freeze window' operation, which does the follow things:

      1. Find all store files that contains cells whose timestamp are in the give window.
      2. Compaction all these files and output one file for each window that these files covered.

      After the compaction, we will have only one in the give window, and all cells whose timestamp are in the give window are in the only file. And if you do not write new cells with an older timestamp in this window, the file will never be changed. This makes it easier to do erasure coding on the freezed file to reduce redundence. And also, it makes it possible to check consistency between master and peer cluster incrementally.

      And why use the word 'freeze'?
      Because there is already an 'HFileArchiver' class. I want to use a different word to prevent confusing.

      Attachments

        1. HBASE-15454-v7.patch
          62 kB
          Duo Zhang
        2. HBASE-15454-v6.patch
          62 kB
          Duo Zhang
        3. HBASE-15454-v5.patch
          62 kB
          Duo Zhang
        4. HBASE-15454-v4.patch
          114 kB
          Duo Zhang
        5. HBASE-15454-v3.patch
          84 kB
          Duo Zhang
        6. HBASE-15454-v2.patch
          70 kB
          Duo Zhang
        7. HBASE-15454-v1.patch
          38 kB
          Duo Zhang
        8. HBASE-15454.patch
          37 kB
          Duo Zhang

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: