You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (Commented) (JIRA)" <ji...@apache.org> on 2011/12/01 02:03:40 UTC

[jira] [Commented] (HBASE-4903) Return a result from RegionObserver.preIncrement()

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

Lars Hofhansl commented on HBASE-4903:
--------------------------------------

Cool. Will do this evening. 



                
> Return a result from RegionObserver.preIncrement()
> --------------------------------------------------
>
>                 Key: HBASE-4903
>                 URL: https://issues.apache.org/jira/browse/HBASE-4903
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Daniel Gómez Ferro
>         Attachments: HBASE-4903.patch, HBASE-4903.patch
>
>
> The only way to return a result from RegionObserver.preIncrement() is to use Result.readFields() after serializing the correct result.
> This can be fixed either returning a Result object from that function or adding setters to Result. Another option is to modify the parameters and receive a List<KeyValue> as preGet() does.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira