hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohit Anchlia <mohitanch...@gmail.com>
Subject Basic Question
Date Tue, 07 Aug 2012 18:26:41 GMT
In Mapper I often use a Global Text object and througout the map processing
I just call "set" on it. My question is, what happens if collector receives
similar byte array value. Does the last one overwrite the value in
collector? So if I did

Text zip = new Text();
zip.set("9099");
collector.write(zip,value);
zip.set("9099");
collector.write(zip,value1);

Should I expect to receive both values in reducer or just one?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message