You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Gopal Gandhi <go...@yahoo.com> on 2008/07/22 02:52:00 UTC

Problem of Hadoop's Partitioner

I am following the example in http://hadoop.apache.org/core/docs/current/streaming.html about Hadoop's partitioner: org.apache.hadoop.mapred.lib.KeyFieldBasedPartitioner . It seems that the sorted values are based on dictionary, for eg:
1
12
15
2
28

What if I want to get numerical sorted list:
1
2
12
15
28
What partitioner shall I use?