Hi, What if 2 students have score of 200 and the next 3 have score of 199? How do you decide who is fourth? On Sat, Feb 6, 2010 at 3:00 PM, Mano wrote: > Hi, > > I have a large list of assessment scores (of about 500k students). The > scores can range between 0 and 200. How do I find the rank of a particular > score? For smaller lists, I can just sort the array of scores and for each > student's score I can get the index of their score in the sorted list. But > how do I achieve it using mapreduce? > > Thanks, > mano > > -- > Lord, give us the wisdom to utter words that are gentle and tender, for > tomorrow we may have to eat them. >   -Sen. Morris Udall >