Details
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
Attachments
Issue Links
- relates to
-
HBASE-9046 Coprocessors can't be upgraded in service reliably
- Closed