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 F029B65F5 for ; Fri, 8 Jul 2011 02:26:38 +0000 (UTC) Received: (qmail 20600 invoked by uid 500); 8 Jul 2011 02:26:38 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 20538 invoked by uid 500); 8 Jul 2011 02:26:38 -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 20530 invoked by uid 99); 8 Jul 2011 02:26:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2011 02:26:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Fri, 08 Jul 2011 02:26:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A05774CD7C for ; Fri, 8 Jul 2011 02:26:16 +0000 (UTC) Date: Fri, 8 Jul 2011 02:26:16 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: <1120777829.9861.1310091976653.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1953127191.8842.1310068456648.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4079) HTableUtil - helper class for loading data 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-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061722#comment-13061722 ] Ted Yu commented on HBASE-4079: ------------------------------- @Doug: It would be nice if you can come up with some unit test. You can refer to HTable unit test(s). Since this code has been verified in production, the above is desirable but not required. > HTableUtil - helper class for loading data > ------------------------------------------- > > Key: HBASE-4079 > URL: https://issues.apache.org/jira/browse/HBASE-4079 > Project: HBase > Issue Type: Improvement > Reporter: Doug Meil > Assignee: Doug Meil > Priority: Minor > Attachments: 4079.txt, HTableUtil.java > > > A pattern that we use at Explorys is to chunk up Puts, and then bucket Puts by RegionServer. This reduces the number of RPC calls per writeBuffer flush, because the flushes will typically be going to one region with this approach. > I didn't think adding such utility methods to HTable was the right approach, so I created an HTableUtil (in the .client package) that contained such functionality. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira