hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4331) Bypassing default actions in prePut fails sometimes with HTable client
Date Fri, 09 Sep 2011 00:04:08 GMT

    [ https://issues.apache.org/jira/browse/HBASE-4331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100806#comment-13100806
] 

Lars Hofhansl commented on HBASE-4331:
--------------------------------------

I sync'd the latest trunk and now there seems to be additional checking on column families
(a put with non-existent CF fails before it even gets to the coprocessor, I assume that's
desired).

But also with the latest changes my own test fails now.
So it'll be a bit until I track that down.


> Bypassing default actions in prePut fails sometimes with HTable client
> ----------------------------------------------------------------------
>
>                 Key: HBASE-4331
>                 URL: https://issues.apache.org/jira/browse/HBASE-4331
>             Project: HBase
>          Issue Type: Bug
>          Components: coprocessors
>    Affects Versions: 0.92.0
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 0.92.0
>
>         Attachments: 4331-v2.txt, 4331-v3.txt, 4331.txt
>
>
> While testing some other scenario I found calling CoprocessorEnvironment.bypass() fails
if all trailing puts in a batch are bypassed that way. By extension a single bypassed put
will also fail.
> The problem is that the puts are removed from the batch in a way that does not align
them with the result-status, and in addition the result is never marked as success.
> A possible fix is to just mark bypassed puts as SUCCESS and filter them in the following
logic.
> (I also contemplated a new BYPASSED OperationStatusCode, but that turned out to be not
necessary).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message