[prev in list] [next in list] [prev in thread] [next in thread]
List: avro-user
Subject: Re: Avro and TotalOrderPartitioner
From: Harsh J <harsh () cloudera ! com>
Date: 2012-08-24 4:31:27
Message-ID: CAOcnVr1AoQfcgKaMHe7fC3_L1nojnNoZLd0CUW9LB6pKxmQ5Ow () mail ! gmail ! com
[Download RAW message or body]
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 <rsharma@xebia.com> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic