hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tim robertson <timrobertson...@gmail.com>
Subject Re: Sorting data numerically
Date Mon, 23 Mar 2009 16:15:44 GMT
If Akira was to write his/her own Mappers, using types like
IntWritable would result in it being numerically sorted right?

Cheers,
Tim




On Mon, Mar 23, 2009 at 5:04 PM, Aaron Kimball <aaron@cloudera.com> wrote:
> Simplest possible solution: zero-pad your keys to ten places?
>
> - Aaron
>
> On Sat, Mar 21, 2009 at 11:40 PM, Akira Kitada <akitada@gmail.com> wrote:
>
>> Hi,
>>
>> By default Hadoop does ASCII sort the mapper's output, not numeric sort.
>> However, I often want the framework to sort
>> records in numeric order.
>> Can I make the framework to do numeric sort?
>> (I use Hadoop Streaming)
>>
>> Thanks,
>>
>> Akira
>>
>

Mime
View raw message