HBase
  1. HBase
  2. HBASE-10119

Allow HBase coprocessors to clean up when they fail

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.96.0
    • Fix Version/s: 0.98.0, 0.96.1, 0.94.15, 0.99.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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 (!!).

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

        Issue Links

          Activity

            People

            • Assignee:
              Benoit Sigoure
              Reporter:
              Benoit Sigoure
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development