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

Siddharth Seth updated TEZ-1409:
--------------------------------

    Attachment: TEZ-1409.1.txt

Patch makes the following changes.

- InputFormat and path nullable
- InputFormat and useNewApi properties are not updated if an inputFormat is not 
specified.
- Renames groupSplitsInAM to groupSplits - that's more generic.
- Removes new JobConf(conf) - was this required for any specific reason ?, 
other than potentially not changing the original conf.
- Removed the call to MRHelpers.setApi*. That's being taken care of anyway.

Wanted to change createConfigurer(Configuration conf, @Nullable Class<?> 
inputFormat)
to createConfigurer(Configuration conf, @Nullable Class<? extends 
*.mapred.InputFormat> inputFormat) and createConfigurer(Configuration conf, 
@Nullable Class<? extends *.mapreduce.InputFormat> inputFormat) - but that 
isn't an option since they have the same runtime signature. Left that as is.

Similarly for the Outputs.

[~bikassaha], please review.

> Change MRInputConfigurer, MROutputConfigurer to accept specific classes, 
> isntead of a generic class
> ---------------------------------------------------------------------------------------------------
>
>                 Key: TEZ-1409
>                 URL: https://issues.apache.org/jira/browse/TEZ-1409
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>            Priority: Blocker
>         Attachments: TEZ-1409.1.txt
>
>
> Separate methods to accept either mapred or mapreduce InputFormat. Similarly 
> for the Output. 
> This generates compile time errors while using these methods.
> Ran into this on the first iteration of TEZ-1407, where I had set the wrong 
> class (a committer instead of an OF).
> Also, ideally these should be @Nullable - in case the user has already set 
> them up correctly in the Configuration.



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

Reply via email to