hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-2225) MultipleOutputs should not require the use of 'Writable'
Date Mon, 28 Feb 2011 04:53:36 GMT

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

Tom White commented on MAPREDUCE-2225:
--------------------------------------

This looks good to me. Should the return type of o.a.h.mapred.lib.MultipleOutputs be Class<?>,
not just the raw type Class, like its new API equivalent?

> MultipleOutputs should not require the use of 'Writable'
> --------------------------------------------------------
>
>                 Key: MAPREDUCE-2225
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2225
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: job submission
>    Affects Versions: 0.20.1
>         Environment: Linux
>            Reporter: Harsh J Chouraria
>            Assignee: Harsh J Chouraria
>            Priority: Blocker
>             Fix For: 0.22.0
>
>         Attachments: multipleoutputs.nowritables.r1.diff, multipleoutputs.nowritables.r2.diff
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> MultipleOutputs right now requires for Key/Value classes to utilize the Writable and
WritableComparable interfaces, and fails if the associated key/value classes aren't doing
so.
> With support for alternates like Avro serialization, using Writables isn't necessary
and thus the MO class must not strictly check for them.
> And since comparators may be given separately, key class doesn't need to be checked for
implementing a comparable (although it is good design if the key class does implement Comparable
at least).
> Am not sure if this brings about an incompatible change (does Java have BIC? No idea).

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message