hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Peterson (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-1963) Output to multiple tables from Hadoop MR without use of HTable
Date Mon, 09 Nov 2009 10:12:34 GMT
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


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.


Mime
View raw message