Sean, The sort impl is spread out over many files. I'd start with MapTask and ReduceTask and follow from there on.
LMK if you need more info. thanks, Arun On Aug 12, 2011, at 12:48 PM, Sean Hogan wrote: > Hi all, > > I was interested in learning from how Hadoop implements their sort algorithm > in the map/reduce framework. Could someone point me to the directory of the > source code that has the mapper/reducer that the Sort example uses by > default when I invoke: > > $ hadoop jar hadoop-*-examples.jar sort input output > > Thanks. I've found Sort.java here : > > http://svn.apache.org/viewvc/hadoop/common/trunk/mapreduce/src/examples/org/apache/hadoop/examples/ > > But have not been able to track down the mapper/reducer implementation. > > -Sean Hogan
