Hi James,

By default, there is no guarantees on value order. Using some of the
more advanced API features, you can perform a secondary sort of
values. You can read a good example of it here:

http://sonerbalkir.blogspot.com/2010/01/simulating-secondary-sort-on-values.html

-Joey
On Mon, Dec 5, 2011 at 7:55 PM, James Y. Li wrote:
Hi All,
I just begin to use Hadoop framework, and write my reduce() method. Wonder
if the Iterable input values (associated with the input key) are already
sorted. Thanks!

p.s. I am using the version 0.20.2-cdh3u1

-james

--


--
Joseph Echeverria
Cloudera, Inc.
443.305.9434

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 3 | next ›
Discussion Overview
groupmapreduce-user @
categorieshadoop
postedDec 6, '11 at 12:55a
activeDec 6, '11 at 2:37a
posts3
users3
websitehadoop.apache.org...
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase