hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4079) HTableUtil - helper class for loading data
Date Sat, 09 Jul 2011 03:10:17 GMT

    [ https://issues.apache.org/jira/browse/HBASE-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062303#comment-13062303

Ted Yu commented on HBASE-4079:

Here are the commands used to generate patch:
svn add src/main/java/org/apache/hadoop/hbase/client/HTableUtil.java
svn add src/test//java/org/apache/hadoop/hbase/client/TestHTableUtil.java
svn diff src/main/java/org/apache/hadoop/hbase/client/HTableUtil.java > 4079.txt
svn diff src/test//java/org/apache/hadoop/hbase/client/TestHTableUtil.java >> 4079.txt

Along the way, I am reformatting line 65:
    Map<String, List<Put>> putMap = createRsPutMap(htable, puts );
I also removed unused imports in the test.
Also added short description for TestHTableUtil.

> 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, TestHTableUtil.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


View raw message