objects as key/values

2013-07-29 Thread jamal sasha
Ok. A very basic (stupid) question. I am trying to compute mean using hadoop. So my implementation is like this: public class Mean public static class Pair{ //simple class to create object } public class MeanMapper emit(text,pair) //where pair is (local sum, count) public class MeanRed

RE: objects as key/values

2013-07-29 Thread Devaraj k
@hadoop.apache.org Subject: objects as key/values Ok. A very basic (stupid) question. I am trying to compute mean using hadoop. So my implementation is like this: public class Mean public static class Pair{ //simple class to create object } public class MeanMapper emit(text,pair) //where pair is