Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 44845 invoked from network); 25 Oct 2010 21:28:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Oct 2010 21:28:44 -0000 Received: (qmail 28193 invoked by uid 500); 25 Oct 2010 21:28:44 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 28163 invoked by uid 500); 25 Oct 2010 21:28:44 -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 28155 invoked by uid 99); 25 Oct 2010 21:28:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Oct 2010 21:28:44 +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, 25 Oct 2010 21:28:42 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9PLSKj6027741 for ; Mon, 25 Oct 2010 21:28:20 GMT Message-ID: <18207952.67081288042100762.JavaMail.jira@thor> Date: Mon, 25 Oct 2010 17:28:20 -0400 (EDT) From: "HBase Review Board (JIRA)" To: issues@hbase.apache.org Subject: [jira] Commented: (HBASE-2946) Increment multiple columns in a row at once In-Reply-To: <3391396.108051283307893263.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924728#action_12924728 ] HBase Review Board commented on HBASE-2946: ------------------------------------------- Message from: "Jonathan Gray" bq. On 2010-10-24 21:41:48, khemani wrote: bq. > trunk/src/main/java/org/apache/hadoop/hbase/client/Increment.java, line 45 bq. > bq. > bq. > setWriteToWal() is missing? yup. will add. bq. On 2010-10-24 21:41:48, khemani wrote: bq. > trunk/src/main/java/org/apache/hadoop/hbase/client/Increment.java, lines 46-47 bq. > bq. > bq. > why a navigable map? why not just a map? u can do things like tailMap[() with it. bq. On 2010-10-24 21:41:48, khemani wrote: bq. > trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java, line 3012 bq. > bq. > bq. > I am not sure how it is ensured that the order of iteration over the columns in family.getValue.entrySet() is same as the order of results returned? bq. > bq. > Also, if get finds multiple matches then will it return all of them? If yes then this will not work. familyMap and the map of columns to amounts are both TreeMaps ordered with Bytes.BYTES_COMPARATOR. Results are also guaranteed to be in order. And our Get has maxVersions=1 so we will not get multiple matches per column. > Increment multiple columns in a row at once > ------------------------------------------- > > Key: HBASE-2946 > URL: https://issues.apache.org/jira/browse/HBASE-2946 > Project: HBase > Issue Type: New Feature > Components: client, regionserver > Reporter: Jonathan Gray > Assignee: Jonathan Gray > > Currently there is no way to do multiple increments to a single row in one RPC. This jira is about adding an HTable and HRegionInterface method to increment multiple columns within a single row at once. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.