You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Bikas Saha (JIRA)" <ji...@apache.org> on 2014/08/13 04:00:13 UTC

[jira] [Commented] (TEZ-1409) Change MRInputConfigurer, MROutputConfigurer to accept specific classes, isntead of a generic class

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

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

Not sure what this means. They accept a type safe class argument. So one could not pass a committer instead of an output format.
+1 on the Nullable.

> 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
>
> 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)