On Mar 23, 2009, at 9:15 AM, tim robertson wrote:

If Akira was to write his/her own Mappers, using types like
IntWritable would result in it being numerically sorted right?

Yes.

Or they can use the KeyFieldBasedComparator. I think if you put the following in your job conf, you'll get the right behavior.

mapred.output.key.comparator.class = org.apache.hadoop.mapred.lib.KeyFieldBasedComparator
mapred.text.key.comparator.options = -n

-- Owen

Reply via email to