hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tsuna <tsuna...@gmail.com>
Subject Re: Giving a chance to buggy coprocessors to clean up
Date Tue, 10 Dec 2013 10:13:50 GMT
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 <larsh@apache.org> 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

View raw message