[ 
https://issues.apache.org/jira/browse/TEZ-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Seth updated TEZ-1386:
--------------------------------

    Attachment: TEZ-1386.2.txt

This patch makes a very simple change over the previous patch - to update the 
configuration in MRInput (instead of changing MRReader), so the correct 
InputFormat will be available within record readers etc.

There's several places where this entire grouping configuration can be accessed 
- client, AM plugin, actual task. Updating in specific generateSplits methods 
does not work (efficiently), since that may be done in the AM - which would 
require the entire payload to be re-serialized. Updating on the client can lead 
to inconsistencies when it comes to AMSplitDistributor (separate calls for 
createPayload / configure).

For now, this seems like the best way around this - where the proto is used to 
indicate grouping, and the configuration is changed before it's used.

This may eventually eveolve, though, in TEZ-1347 - when APIs are removed and 
consolidated.

> Users should not need to setup TezGroupedInputFormat to enable grouping
> -----------------------------------------------------------------------
>
>                 Key: TEZ-1386
>                 URL: https://issues.apache.org/jira/browse/TEZ-1386
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>         Attachments: TEZ-1386.1.txt, TEZ-1386.2.txt
>
>
> To enable grouping via Tez, users should not need to change the underlying 
> InputFormat. A simple enable / disable option should be sufficient.
> MRInputConfigurer does this.
> Many of the methods in MRHelpers, however, require an InputFormat to be 
> specified. The main objective of this JIRA is to get rid of this requirement 
> in favor of a simple enableGrouping flag.
> Marking this as a blocker for TEZ-1347, since it should simplify the set of 
> APIs required. Also, making all the changes in TEZ-1347 would just lead to a 
> very large patch.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to