You could hook up
http://hadoop.apache.org/common/docs/r0.20.1/api/org/apache/hadoop/mapreduce/lib/output/TextOutputFormat.html
to a map that emit tsv lines (use the tsv escaping lib du jour to make
sure tabs are properly escaped or just search and replace tabs in
source yourself if not corrupting).

Can you hook hive to hbase?
St.Ack


On Mon, Jun 6, 2011 at 5:15 PM, Jack Levin <[email protected]> wrote:
> there is export tool that exports tables into sequence files, question
> is, what do I do with those seq. files to convert them to text?
>
> -Jack
>
> On Mon, Jun 6, 2011 at 4:56 PM, Bill Graham <[email protected]> wrote:
>> You can do this in a few lines of Pig, check out the HBaseStorage class.
>> You'll need to now the names of your column families, but besides that it
>> could be done fairly generically.
>>
>>
>>
>> On Mon, Jun 6, 2011 at 3:57 PM, Jack Levin <[email protected]> wrote:
>>
>>> Hello, does anyone have any tools you could share that would take a
>>> table, and dump the contents as TSV text format?  We want it in tsv
>>> for quick HIVE processing that we have in the another datamining
>>> cluster.  We do not want to write custom map-reduce jobs for hbase
>>> because we already have an extensive hive framework that does
>>> map-reduce processing.  We could then use bulk import to load new
>>> tables in, if we have to.
>>>
>>> Thanks.
>>>
>>> -Jack
>>>
>>
>

Reply via email to