You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2014/09/03 11:07:51 UTC
[jira] [Commented] (TEZ-1499) Add OrderedJoinExample to
tez-examples
[ https://issues.apache.org/jira/browse/TEZ-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14119668#comment-14119668 ]
Jeff Zhang commented on TEZ-1499:
---------------------------------
Attach the patch.
* Add OrderedJoinExample in a separate file. Because I think code duplicated in tez-examples is acceptable, as long as it is readable and easy understand for users. So I prefer to use a separate example. Verify the output records of joinexample and orderedjoinexample is the same except the order.
* Notice that the joinexample require keys in the second dataset to be unique. Add comment to highlight it.
> Add OrderedJoinExample to tez-examples
> --------------------------------------
>
> Key: TEZ-1499
> URL: https://issues.apache.org/jira/browse/TEZ-1499
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Jeff Zhang
> Assignee: Jeff Zhang
> Attachments: Tez-1499.patch
>
>
> In the current join example, the inputs of JoinProcessor is unordered so that it will always need to load one input into memory, and stream another input. This only fit for the case when one dataset is small enough to fit into memory ( even use no-broadcast, memory may not be enough ). So I'd like to add another join example that make the inputs of JoinProcessor is ordered. ( using OrderedPartitionedKVEdgeConfig ). This kind of join could been used when both of the 2 datasets are large.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)