You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Ted Yu <yu...@gmail.com> on 2014/05/14 04:27:07 UTC

Re: preGetOp being called on the Coprocessor when issued with delete request

Looking at RegionCoprocessorHost.java, preGetOp() is called in:
  public boolean preGet(final Get get, final List<Cell> results)

Do you have stack trace showing that preGetOp() is called for delete
request ?

Thanks


On Mon, May 12, 2014 at 9:31 PM, Vinay Kashyap <vi...@ymail.com>wrote:

> Dear all,
>
> I am using HBase 0.96.1.1-hadoop2 with CDH-5.0.0.
> I have an application where I have registered a coprocessor to my table to
> get few statistics on the read/write/delete requests.
> I have implemented preGetOp, prePut and preDelete accordingly and it is
> working as expected in case of read/write requests.
> But when I issue a delete request on the table, coprocessor's preGetOp is
> been called which is varying the read requests statistics.
> I wanted to understand why is the preGetOp being called when delete
> request is issued.?
>
>
>
> Thanks and regards
> Vinay Kashyap