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

Merging compaction requests in the queue for same store

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.94.4
    • None
    • Compaction
    • None

    Description

      With a high write presesure, we could found many compaction requests for same store in the compaction queue.

      I think we could merge compaction requests for same store to increase compaction efficiency greately. It is so in 0.90 version because doing compacting files selection only when executing compaction

      e.g.

      SmallCompation active count:1,Queue:
      regionName=abctest,90F9AUIPK4YO47W55WS4R8RSKGDFNRYBNB79COYKHNQD9F62G7,1359104485823.f05568c159940b8a72bd84c988388ad3., storeName=c1, fileCount=4, fileSize=371.1m (212.0m, 53.0m, 53.0m, 53.0m), priority=15, time=56843340270506608
      regionName=abctest,90F9AUIPK4YO47W55WS4R8RSKGDFNRYBNB79COYKHNQD9F62G7,1359104485823.f05568c159940b8a72bd84c988388ad3., storeName=c1, fileCount=4, fileSize=330.4m (171.3m, 53.0m, 53.0m, 53.0m), priority=11, time=56843401092063608
      

      We could merge these two compaction requests

      Attachments

        1. HBASE-7672.patch
          6 kB
          Chunhui Shen

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zjushch Chunhui Shen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: