You'll need to reimplement the TotalOrderPartitioner to not require WritableComparable extending keys. Please see https://issues.apache.org/jira/browse/MAPREDUCE-4574, which is the proposed fix.
On Fri, Aug 24, 2012 at 9:22 AM, Rahul <[email protected]> wrote: > Hi, > > I am doing total order sort using the TotalOrderPartitioner. The petitioner > requires a squenceFile with keys of type WritableComparable. Now I can > create a sequence file using AvroKey type but that does not work as the > class is not WritableComparable. How can I create such a file using avro > data ? > > regards > Rahul > > -- Harsh J
