Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-15339 Improve DateTieredCompactionPolicy
  3. HBASE-15665

Support using different StoreFileComparators for different CompactionPolicies

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0, 0.98.19, 1.4.0, 2.0.0
    • 1.3.0, 0.98.19, 2.0.0
    • Compaction
    • None
    • Reviewed

    Description

      Now for DateTieredCompactionPolicy, if we output multiple files when compaction, we will use the same max sequence id for all the output files(see HBASE-15389 for more details). So we need to sort the store files by timestamp if they have the same max sequence id which is different from the original store file comparator.

      Attachments

        1. HBASE-15665.patch
          11 kB
          Duo Zhang
        2. HBASE-15665-0.98.patch
          11 kB
          Duo Zhang
        3. HBASE-15665-branch-1.patch
          11 kB
          Duo Zhang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: