Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 76757 invoked from network); 11 Oct 2008 00:54:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Oct 2008 00:54:05 -0000 Received: (qmail 90487 invoked by uid 500); 11 Oct 2008 00:54:04 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 90471 invoked by uid 500); 11 Oct 2008 00:54:04 -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 90460 invoked by uid 99); 11 Oct 2008 00:54:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2008 17:54:04 -0700 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; Sat, 11 Oct 2008 00:53:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 85D59234C21C for ; Fri, 10 Oct 2008 17:53:44 -0700 (PDT) Message-ID: <1077643915.1223686424547.JavaMail.jira@brutus> Date: Fri, 10 Oct 2008 17:53:44 -0700 (PDT) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-748) Add an efficient way to batch update many rows In-Reply-To: <1885219386.1216244011641.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-748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-748: ------------------------ Attachment: hbase-748-v4.patch Problem was deserializing the BatchUpdate, we'd use the no-arg BatchUpdate constructor. The no-arg BatchUpdate waterfalls down to the constructor that takes all arguments. It did this: {code} this.size = row.length; {code} If no-arg constructor, row was null. The NPE wasn't making it out during deserialization. This attached patch includes fix and some little cleanup. > Add an efficient way to batch update many rows > ---------------------------------------------- > > Key: HBASE-748 > URL: https://issues.apache.org/jira/browse/HBASE-748 > Project: Hadoop HBase > Issue Type: New Feature > Components: client > Affects Versions: 0.1.3, 0.2.0 > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Fix For: 0.19.0 > > Attachments: hbase-748-v1.patch, hbase-748-v2.patch, hbase-748-v3.patch, hbase-748-v4.patch > > > HBASE-747 introduced a simple way to batch update many rows. The goal of this issue is to have an enhanced version that will send many rows in a single RPC to each region server. To do this, the client code will have to figure which rows goes to which server, group them accordingly and then send them. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.