phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2216) Support single mapper pass to CSV bulk load table and indexes
Date Mon, 31 Aug 2015 20:09:45 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14723962#comment-14723962
] 

Gabriel Reid commented on PHOENIX-2216:
---------------------------------------

I looked at this a while back, but never got far enough to actually get it going (due to lack
of time).

The idea behind HBASE-3727 is what is needed I think, but from my previous look at this I'm
pretty sure that it wouldn't be too difficult to get this working via the "normal" [Hadoop
MultileOutputs|https://hadoop.apache.org/docs/current/api/org/apache/hadoop/mapreduce/lib/output/MultipleOutputs.html].


Using [Crunch|http://crunch.apache.org] would make this trivial, but I think that that's probably
way too big of a dependency to pull in to do something like this.

I would _love_ to work on this, but I don't feel like I can put in enough time to get it done
right now -- of course I'd be happy to collaborate (at least in terms of reviewing/discussing),
but I don't think I can put together a working patch for this in the really short-term.

> Support single mapper pass to CSV bulk load table and indexes
> -------------------------------------------------------------
>
>                 Key: PHOENIX-2216
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2216
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>
> Instead of running separate MR jobs for CSV bulk load: once for the table and then once
for each secondary index, generate both the data table HFiles and the index table(s) HFiles
in one mapper phase.
> Not sure if we need HBASE-3727 to be implemented for this or if we can do it with existing
HBase APIs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message