hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shrivastava, Himnshu (GE Global Research, Non-GE)" <Himnshu.Shrivast...@ge.com>
Subject Query map reduce
Date Thu, 19 Jun 2014 05:07:30 GMT
Hi,

I am willing to find the median of a set of numbers <input being only numbers in each line>.
There are repetitions as well. How can I write a reduce function for this. I can get the count
of each number. Is cumulative frequency required for it?  Or it can be found out by any other
simpler way.

Regards,

Mime
View raw message