105106107108109110111
}; } @Override public Aggregator newServerAggregator(Configuration conf) { return new CountAggregator(); }
117118119120121122123
@Override public Aggregator newServerAggregator(Configuration config, ImmutableBytesWritable ptr) { LongSumAggregator sumAgg = newClientAggregator(); sumAgg.aggregate(null, ptr); return new CountAggregator(sumAgg); }