hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alex_ <alex.macm...@gmail.com>
Subject novice question on sorting
Date Fri, 28 Sep 2007 14:52:10 GMT


I searched through the archives a bit and could not come up with a direct
answer to this. How can I sort my output based on the value portion of the
key/value pair from reduce? For example, the word count sample would be
sorted in descending order with the word having the highest count appearing
first, instead of alphabetical order of the key as it occurs now. Sorry if
this is trivial detail that I am missing!

View this message in context: http://www.nabble.com/novice-question-on-sorting-tf4535008.html#a12942118
Sent from the Hadoop Users mailing list archive at Nabble.com.

View raw message