You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Nilkanth Patel <ni...@gmail.com> on 2017/07/12 05:22:43 UTC

Do executing table.get() inside endpoint co-processor invokes a observer's (preGet, postGet etc ) callbacks

I have a following test scenario.

Configured and added a co-processor endpoint. Endpoint implementation
includes a table.get() call. (And this table has observed added as well)

When i execute this end-point co-processor, where table.get() is a part of
endpoint implementation,* will is invoke preGet() and postGet() observer
callback as well...?*

Thank you.
Nilkanth.

Re: Do executing table.get() inside endpoint co-processor invokes a observer's (preGet, postGet etc ) callbacks

Posted by Ted Yu <yu...@gmail.com>.
Which region would be the recipient of the table.get() call ?

If that is a different region than the one the endpoint is activated on,
you should be aware of the potential deadlock issue.

Please take a look at CoprocessorHConnection.

FYI

On Tue, Jul 11, 2017 at 10:22 PM, Nilkanth Patel <ni...@gmail.com>
wrote:

> I have a following test scenario.
>
> Configured and added a co-processor endpoint. Endpoint implementation
> includes a table.get() call. (And this table has observed added as well)
>
> When i execute this end-point co-processor, where table.get() is a part of
> endpoint implementation,* will is invoke preGet() and postGet() observer
> callback as well...?*
>
> Thank you.
> Nilkanth.
>