Thank you Harsh,
that works fine!
(looks like the page I was looking at was the same, but for an older
version of hadoop)
Dieter
On Fri, 1 Apr 2011 13:07:38 +0530
Harsh J wrote:
> You will need to supply your own Key-comparator Java class by setting
> an appropriate parameter for it, as noted i
You will need to supply your own Key-comparator Java class by setting
an appropriate parameter for it, as noted in:
http://hadoop.apache.org/common/docs/r0.20.2/streaming.html#A+Useful+Comparator+Class
[The -D mapred.output.key.comparator.class=xyz part]
On Thu, Mar 31, 2011 at 6:26 PM, Dieter Pla
hi,
I use hadoop 0.20.2, more specifically hadoop-streaming, on Debian 6.0
(squeeze) nodes.
My question is: how do I make sure input keys being fed to the reducer
are sorted numerically rather then alphabetically?
example:
- standard behavior:
#1 some-value1
#10 some-value10
#100 some-value100
#2