hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1963) Output to multiple tables from Hadoop MR without use of HTable
Date Mon, 09 Nov 2009 15:14:32 GMT

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

Andrew Purtell commented on HBASE-1963:


Patch generally looks good.

HBase expunged all uses of Text in the 0.18 timeframe. Can you use ImmutableBytesWritable

The example looks great.

> Output to multiple tables from Hadoop MR without use of HTable
> --------------------------------------------------------------
>                 Key: HBASE-1963
>                 URL: https://issues.apache.org/jira/browse/HBASE-1963
>             Project: Hadoop HBase
>          Issue Type: New Feature
>    Affects Versions: 0.20.1
>            Reporter: Kevin Peterson
>            Priority: Minor
>             Fix For: 0.21.0
>         Attachments: HBASE-1963.patch
> o.a.h.h.mapreduce.TableOutputFormat allows writing to a single table as output from a
map/reduce job in the natural way. It requires that the user specify the table name ahead
of time and can only write to one table. I had a need to write to multiple tables from the
same job (write my data to one table, and also write to index tables), and I wanted to have
a consistent API whether writing to one or many tables.
> Attached MultiTableOutputFormat takes the table name as the key and the Put or Delete
as the value. Also included is an example demonstrating the usage.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message