Followed up on the issue.

On Tue, Dec 10, 2013 at 6:13 PM, tsuna <[email protected]> wrote:

> I filed an issue (https://issues.apache.org/jira/browse/HBASE-10119)
> and attached a proposition for a fix, which simply consists in calling
> stop() when we forcefully remove a coprocessor.
>
> On Mon, Dec 9, 2013 at 10:59 PM, lars hofhansl <[email protected]> wrote:
> > You can also try to place your "global" variables in shared HashMap via
> RegionCoprocessorEnvironment.getSharedData().
> > That will be automatically cleared up when all instances of a
> coprocessor class are gone.
>
> Unfortunately that's not good enough, because there may be also
> external resources that need to be released / cleaned up.
>
> --
> Benoit "tsuna" Sigoure
>



-- 
Best regards,

   - Andy

Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)

Reply via email to