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

Allow HBase coprocessors to clean up when they fail

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.96.0
    • 0.98.0, 0.96.1, 0.94.15, 0.99.0
    • None
    • None
    • Reviewed

    Description

      In the thread Giving a chance to buggy coprocessors to clean up I brought up the issue that coprocessors currently don't have a chance to release their own resources (be they internal resources within the JVM, or external resources elsewhere) when they get forcefully removed due to an uncaught exception escaping.

      It would be nice to fix that, either by adding an API called by the CoprocessorHost when killing a faulty coprocessor, or by guaranteeing that the coprocessor's stop() method will be invoked then.

      This feature request is actually pretty important due to bug HBASE-9046, which means that it's not possible to properly clean up a coprocessor without restarting the RegionServer (!!).

      Attachments

        1. HBASE-10119-0.94.patch
          1.0 kB
          Andrew Kyle Purtell
        2. HBASE-10119.patch
          1 kB
          Benoit Sigoure

        Issue Links

          Activity

            People

              tsuna Benoit Sigoure
              tsuna Benoit Sigoure
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: