Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9DF8493D5 for ; Wed, 30 Nov 2011 18:20:02 +0000 (UTC) Received: (qmail 14185 invoked by uid 500); 30 Nov 2011 18:20:02 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 14157 invoked by uid 500); 30 Nov 2011 18:20:02 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 14147 invoked by uid 99); 30 Nov 2011 18:20:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 18:20:02 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 18:20:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 57C1EA9A7A for ; Wed, 30 Nov 2011 18:19:41 +0000 (UTC) Date: Wed, 30 Nov 2011 18:19:41 +0000 (UTC) From: =?utf-8?Q?Daniel_G=C3=B3mez_Ferro_=28Updated=29_=28JIRA=29?= To: issues@hbase.apache.org Message-ID: <1433865033.26941.1322677181360.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <46787673.26216.1322664460084.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-4903) Return a result from RegionObserver.preIncrement() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-4903?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel G=C3=B3mez 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 doc= umentation. =20 > 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=C3=B3mez 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 re= ceive a List as preGet() does. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira