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] [Updated] (HBASE-4079) HTableUtil - helper class for loading data
Date Sat, 09 Jul 2011 03:20:16 GMT

     [ https://issues.apache.org/jira/browse/HBASE-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Ted Yu updated HBASE-4079:

    Fix Version/s: 0.92.0
     Release Note: 
HTableUtil provides the following helper methods:
public static void bucketRsPut(HTable htable, List<Put> puts) throws IOException
It processes a List of Puts and writes them to an HTable instance in RegionServer buckets
via the htable.put method.
public static void bucketRsBatch(HTable htable, List<Row> rows) throws IOException
Processes a List of Rows (Put, Delete) and writes them to an HTable instance in RegionServer
buckets via the htable.batch method.

> 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
>             Fix For: 0.92.0
>         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