You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2015/07/20 15:28:05 UTC
[jira] [Resolved] (CRUNCH-545) Writing to HFiles starts a job per
column family
[ https://issues.apache.org/jira/browse/CRUNCH-545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabriel Reid resolved CRUNCH-545.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.13.0
Pushed to master
> Writing to HFiles starts a job per column family
> ------------------------------------------------
>
> Key: CRUNCH-545
> URL: https://issues.apache.org/jira/browse/CRUNCH-545
> Project: Crunch
> Issue Type: Improvement
> Reporter: Gabriel Reid
> Assignee: Gabriel Reid
> Fix For: 0.13.0
>
> Attachments: CRUNCH-545.patch, post.dot.png, pre.dot.png
>
>
> When writing to HFiles via {{HFileUtils.writeToHFilesForIncrementalLoad}}, a separate MR job is started up per column family defined for the table, regardless of whether or not there is any data for each of these column families.
> Each of the column family jobs runs over the full set of Cells, filters for the desired column family, and then partitions the data.
> For tables with multiple column families, it would be a lot more efficient to sort/partition all of the data together, and then split it out per column family afterwards.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)