Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 27159 invoked from network); 13 Dec 2010 23:58:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Dec 2010 23:58:24 -0000 Received: (qmail 72714 invoked by uid 500); 13 Dec 2010 23:58:24 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 72625 invoked by uid 500); 13 Dec 2010 23:58:23 -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 72617 invoked by uid 99); 13 Dec 2010 23:58:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 23:58:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 23:58:23 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBDNw313007494 for ; Mon, 13 Dec 2010 23:58:03 GMT Message-ID: <15780507.102911292284683377.JavaMail.jira@thor> Date: Mon, 13 Dec 2010 18:58:03 -0500 (EST) From: "Lars George (JIRA)" To: issues@hbase.apache.org Subject: [jira] Commented: (HBASE-3339) Coprocessors: Increment pre/post hooks In-Reply-To: <33178676.97531292268901367.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971087#action_12971087 ] Lars George commented on HBASE-3339: ------------------------------------ The Coprocessor has that already but in the current implementation. From CoprocessorHost.java: {code} public long preIncrementColumnValue(final byte [] row, final byte [] family, final byte [] qualifier, long amount, final boolean writeToWAL) throws IOException; {code} and from HRegionServer.java: {code} if (region.getCoprocessorHost() != null) { amountVal = region.getCoprocessorHost().preIncrementColumnValue(row, family, qualifier, amountVal, writeToWAL); } {code} > Coprocessors: Increment pre/post hooks > -------------------------------------- > > Key: HBASE-3339 > URL: https://issues.apache.org/jira/browse/HBASE-3339 > Project: HBase > Issue Type: New Feature > Reporter: Jonathan Gray > Fix For: 0.92.0 > > > The new Increment operation should have Coprocessor pre/post support like other client operations. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.