[ 
https://issues.apache.org/jira/browse/TEZ-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14097599#comment-14097599
 ] 

Bikas Saha commented on TEZ-1409:
---------------------------------

Please add javadoc that the conf parameter may be modified and so users should 
pass in a copy. 
Also update the javadoc to call out the configuration based approach for legacy 
users and the recommended approach for new users.

At this point I think we are better off creating a setInputFormat() and 
setInputPaths() because these are effectively optional. These would be 
non-nullable. So configuration based folks dont set them but the recommended 
code path would be to call the setter(s).

A final check to ensure that input paths have been specified would be useful 
for a fileinputformat.

> 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