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


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.

Reply via email to