Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 10072 invoked from network); 8 Mar 2009 06:41:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2009 06:41:19 -0000 Received: (qmail 86206 invoked by uid 500); 8 Mar 2009 06:41:19 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 86194 invoked by uid 500); 8 Mar 2009 06:41:19 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 86183 invoked by uid 99); 8 Mar 2009 06:41:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Mar 2009 22:41:19 -0800 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Mar 2009 06:41:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 33B74234C4A8 for ; Sat, 7 Mar 2009 22:40:56 -0800 (PST) Message-ID: <288844928.1236494456210.JavaMail.jira@brutus> Date: Sat, 7 Mar 2009 22:40:56 -0800 (PST) From: "Jonathan Gray (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-803) Atomic increment operations In-Reply-To: <688121997.1218217064304.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Gray updated HBASE-803: -------------------------------- Attachment: (was: HBASE-803-v2-0.19.patch) > Atomic increment operations > --------------------------- > > Key: HBASE-803 > URL: https://issues.apache.org/jira/browse/HBASE-803 > Project: Hadoop HBase > Issue Type: New Feature > Components: client, ipc, regionserver > Affects Versions: 0.19.0 > Reporter: Jonathan Gray > Assignee: ryan rawson > Priority: Minor > Fix For: 0.19.1, 0.20.0 > > Attachments: hbase-803-v1.patch, HBASE-803-v2.patch, HBASE-803.patch > > > Discussion was already started in HBASE-798 > First version will contain to additional HTable methods: > incrementColumnValue(table,row,family:column) -> Inserts a new version of the specified column (which must already exist) with an incremented cell value. > incrementFamilyColumn(table,row,family: ) -> Inserts a new column under the specified family. This assumes the family always contains only one column. That column is read, incremented, deleted, and a new column is inserted with the incremented column name. The existing value is re-inserted unchanged to the new column. > I'm going to be making even more specialized versions of these for internal use (taking apart byte[]'s, doing different bit/byte operations, and assorted munging...). So if anyone has any requests for other specialized versions, or more generic versions, please post them here and I'd be more than happy to take a stab at them. > Next week I will likely have a go at HBASE-493 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.