hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dhaval Shah <prince_mithi...@yahoo.co.in>
Subject Re: Query map reduce
Date Wed, 18 Jun 2014 13:32:12 GMT
Just call context.write multiple times
 

Regards,
Dhaval


________________________________
 From: "Shrivastava, Himnshu (GE Global Research, Non-GE)" <Himnshu.Shrivastava@ge.com>
To: "user@hadoop.apache.org" <user@hadoop.apache.org> 
Sent: Wednesday, 18 June 2014 8:44 AM
Subject: Query map reduce
 


 
Hi,
 
I am writing a simple map reduce code in java. How can I get multiple key- value pairs as
output from a single mapper. If there is any preferred link for that, please let me know.
I tried using hash map for it but there exist some errors in the same. Can an object of output
collector emit multiple key value pairs ?
 
Regards,
Mime
View raw message