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

Implement a cancel for in-progress compactions

    XMLWordPrintableJSON

Details

    • Reviewed
    • 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.
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: