You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by yu-yang chen <yy...@doc.ic.ac.uk> on 2007/06/09 00:59:12 UTC

Hadoop Reduce-dynamic sorting

I am wondering if there exists a sorting function in the reduce  
phase, which will sort all the keys in ascending order, and output as  
a list?

My original function is a point on a graph, and the mapping function  
does some kind of a transformation to the y axis, and the key/value  
pairs is represented as the x-axis/transformed y value, and I would  
like my reducing function to return a sorted list, which includes all  
the transformation with ascending x value...

could someone please tell me if it is possible?

yu-yang