>
> output.collect(key, v);
>
> }
>
> }
>
> In the above reduce function you can add logical condition to avoid extra
> ‘,’ at end of each value line.
>
> ** **
>
> Thanks
>
> Devaraj k****
>
> ** **
>
>
ove reduce function you can add logical condition to avoid extra ','
at end of each value line.
Thanks
Devaraj k
From: manish dunani [mailto:manishd...@gmail.com]
Sent: 27 July 2013 10:02
To: user@hadoop.apache.org
Subject: Want to Sort the values in one line using map reduce
Hi,
I ha
Hi,
*I have input file and my data looks like:*
date country city pagePath visits 20120301 India Ahmedabad / 1
20120302 India Ahmedabad /gtuadmissionhelpline-team 1 20120302 India
Mumbai / 1 20120302 India Mumbai /merit-calculator 1
* I wrote the map and reduce application to conve