[
https://issues.apache.org/jira/browse/TEZ-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14097858#comment-14097858
]
Siddharth Seth commented on TEZ-1409:
-------------------------------------
Looking at this some more, I think it's better to not expose setInputFormat,
setInputPaths and instead accept it as a @Nullable field. Exposing
setInputFormat and setInputPaths leads to an ordering in which the methods need
to be invoked - which gets really ugly.
> 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)