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

Add major compaction support in CompactionTool

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.8
    • 0.95.2, 0.94.9
    • Compaction
    • None

    Description

      Support request for a major compaction in CompactionTool so that we'll make this nice tool complete and consistent with the other compaction command and API.

      After the patch, here is the usage:

      Usage: java org.apache.hadoop.hbase.regionserver.CompactionTool \
      [-compactOnce] [-major] [-mapred] [-D<property=value>]* files...

      Options:
      mapred Use MapReduce to run compaction.
      compactOnce Execute just one compaction step. (default: while needed)
      major Trigger major compaction.

      ...

      Attachments

        1. HBASE-8683-0.94.patch
          8 kB
          Jerry He
        2. HBASE-8683-trunk.patch
          9 kB
          Jerry He

        Activity

          People

            jinghe Jerry He
            jinghe Jerry He
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: