Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Avro >> mail # user >> Avro and TotalOrderPartitioner

Rahul 2012-08-24, 03:52
Copy link to this message
Re: Avro and TotalOrderPartitioner
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