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

Implement a cancel for in-progress compactions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.2.0
    • Component/s: regionserver
    • Labels:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Added a new command to the shell to switch on/off compactions called "compaction_switch". Disabling compactions will interrupt any currently ongoing compactions. This setting will be lost on restart of the server. Added the configuration hbase.regionserver.compaction.enabled so user can enable/disable compactions via hbase-site.xml.
      Show
      Added a new command to the shell to switch on/off compactions called "compaction_switch". Disabling compactions will interrupt any currently ongoing compactions. This setting will be lost on restart of the server. Added the configuration hbase.regionserver.compaction.enabled so user can enable/disable compactions via hbase-site.xml.
    • Tags:
      beginner

      Description

      Depending on current server load, it can be extremely expensive to run periodic minor / major compactions. It would be helpful to have a feature where a user could use the shell or a client tool to explicitly cancel an in-progress compactions. This would allow a system to recover when too many regions became eligible for compactions at once

        Attachments

        1. HBASE-6028.master.007.patch
          40 kB
          Mohit Goel
        2. HBASE-6028.master.008.patch
          43 kB
          Umesh Agashe
        3. HBASE-6028.master.008.patch
          43 kB
          Mohit Goel
        4. HBASE-6028.master.009.patch
          43 kB
          Mohit Goel

          Issue Links

            Activity

              People

              • Assignee:
                mogoel Mohit Goel
                Reporter:
                dwollen Derek Wollenstein
              • Votes:
                0 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: