hi,

Can I sort the output of reducer based on the value instead of key.
Also can I specify that the output should be sorted in decreasing order ?

Mapper output -
 <aWord, 1>

Reducer gets-
 <aWord, (1,1,...)>

and outputs -
<aWord, count>

e.g abc 10
      xyz  100

I want the output to be sorted based on the value and that too in
decreasing order -
     xyz 100
     abc  10

Any suggestions ?

thanks,
Taran

Reply via email to