hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raj K Singh <rajkrrsi...@gmail.com>
Subject Re: Query map reduce
Date Wed, 18 Jun 2014 13:41:24 GMT
call context.write() to emit keys/values based on some conditions.

::::::::::::::::::::::::::::::::::::::::
Raj K Singh
http://in.linkedin.com/in/rajkrrsingh
http://www.rajkrrsingh.blogspot.com
Mobile  Tel: +91 (0)9899821370


On Wed, Jun 18, 2014 at 6:14 PM, Shrivastava, Himnshu (GE Global Research,
Non-GE) <Himnshu.Shrivastava@ge.com> wrote:

>  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