If you are running a MapReduce job with HBase as an input format and non-hbase output formats it is the same.
A combiner is a reducer that only operates on the output of a single mapper. As long as you only do things that are idempotent in your reducer, than you can put your reducer in the combiner slot by simply saying: job.setCombiner(.class);
0
Navyah
On
You can use job.setCombiner(.class); method to use combiner class in map reduce. Reducer will aslso acts as an combiner
If you are running a MapReduce job with HBase as an input format and non-hbase output formats it is the same.
A combiner is a reducer that only operates on the output of a single mapper. As long as you only do things that are idempotent in your reducer, than you can put your reducer in the combiner slot by simply saying: job.setCombiner(.class);