Checking the code in detail, we already handle this internal get op call
not to invoke the pre/post Get CP hook.

-Anoop-

On Fri, May 16, 2014 at 9:45 AM, Anoop John <[email protected]> wrote:

> You are doing a latest version delete? When such a delete comes, (TS=
> LATEST_TS) internally there will be a Get operation happening to get the
> exact TS of the latest cell version.  As part of that the CP hook also
> getting called.  File a jira so that we can discuss there whether an
> internal call doing a CP callback is correct or not.
>
> -Anoop-
>
>  On Tue, May 13, 2014 at 10:01 AM, Vinay Kashyap 
> <[email protected]>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
>
>
>

Reply via email to