You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Harsh J Chouraria (JIRA)" <ji...@apache.org> on 2011/01/05 21:08:47 UTC

[jira] Updated: (MAPREDUCE-2225) MultipleOutputs should not require the use of 'Writable'

     [ https://issues.apache.org/jira/browse/MAPREDUCE-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harsh J Chouraria updated MAPREDUCE-2225:
-----------------------------------------

    Attachment: multipleoutputs.nowritables.r2.diff

New patch, with test cases for testing JavaSerialization with MO.

> 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
>            Reporter: Harsh J Chouraria
>            Assignee: Harsh J Chouraria
>             Fix For: 0.23.0
>
>         Attachments: multipleoutputs.nowritables.r1.diff, multipleoutputs.nowritables.r2.diff
>
>   Original Estimate: 0.02h
>  Remaining Estimate: 0.02h
>
> 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.
-
You can reply to this email to add a comment to the issue online.