[
https://issues.apache.org/jira/browse/TEZ-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14097839#comment-14097839
]
Siddharth Seth commented on TEZ-1409:
-------------------------------------
The preferred usage is to pass in a raw configuration, and setup the
InputFormat / paths - at least for most simple cases, so I don't think we
should remove the create method which accepts Configuration, InputFormat and
Paths.
For non file based InputForamts, it's more likely that external configuration
is required - so I'll remove the InputFormat from there and add a
setInputFormat method. setInputPaths already exists.
> 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)