You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Mrudula Madiraju <mr...@yahoo.com.INVALID> on 2015/07/30 07:59:09 UTC
RegionServerObserver preMerge()/postMerge() methods are not getting invoked..
Hi,
I have a custom coprocessor associated with a table. This coprocessor extends from BaseRegionServerObserver.
I can see that it is loaded, and flow goes to the constructor, start() and stop() methods.
When I invoke merge_region on the hbase shell on two regions of the table. I can see the merge happens and new region gets created via hbase console ui.
However it just does not call preMerge() and postMerge() methods of my coprocessor.
I am using HBase 0.98.8 version. The method signatures are all right.
Is there any known problem - I couldn't find anything in the archives or net or am I missing anything? Please help.
Regards,
Mrudula
Re: RegionServerObserver preMerge()/postMerge() methods are not
getting invoked..
Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Hi Mrudula, are you sure your coprocessor is correctly loaded? I can see
that in the 0.98.8 code:
http://grepcode.com/file/repo1.maven.org/maven2/org.apache.hbase/hbase-server/0.98.8-hadoop2/org/apache/hadoop/hbase/regionserver/RegionMergeTransaction.java#283
Where the pre-merge code is called.
It should work...
JM
2015-07-30 1:59 GMT-04:00 Mrudula Madiraju <
mrudulamadiraju@yahoo.com.invalid>:
> Hi,
>
> I have a custom coprocessor associated with a table. This coprocessor
> extends from BaseRegionServerObserver.
> I can see that it is loaded, and flow goes to the constructor, start() and
> stop() methods.
>
> When I invoke merge_region on the hbase shell on two regions of the table.
> I can see the merge happens and new region gets created via hbase console
> ui.
>
> However it just does not call preMerge() and postMerge() methods of my
> coprocessor.
>
> I am using HBase 0.98.8 version. The method signatures are all right.
>
> Is there any known problem - I couldn't find anything in the archives or
> net or am I missing anything? Please help.
>
> Regards,
> Mrudula
>
>