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
@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