hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Gómez Ferro (Updated) (JIRA) <j...@apache.org>
Subject [jira] [Updated] (HBASE-4903) Return a result from RegionObserver.preIncrement()
Date Wed, 30 Nov 2011 18:19:41 GMT

     [ https://issues.apache.org/jira/browse/HBASE-4903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Gómez Ferro updated HBASE-4903:
--------------------------------------

    Attachment: HBASE-4903.patch

Modified pre/postAppend as well, good catch.

I removed the Result parameter from both pre* functions and updated the documentation.
                
> 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

       

Mime
View raw message