Hi,
I am new to MapReduce.

After slightly modifying the example wordcount, to count the IP Address.
I have two files part-00000 and part-00001 with the contents something like.

IP Add       Count
1.2. 5. 42   27
2.8. 6. 6   24
7.9.24.13   8
7.9. 6. 9    201

I want to sort it by IP Address count in descending order(i.e.) I would expect 
to see

7.9. 6. 9    201
1.2. 5. 42   27
2.8. 6. 6   24
7.9.24.13   8

Could you please suggest how to do this.
And to merge both the partitions (part-00000 and part-00001) in to one output 
file, is there any functions already available in MapReduce Framework.
Or we need to use Java IO to do this.
Thanks,
Senthil

Reply via email to