2

Hadoop map reduce supports a combiner stage. However, I can't find a similar capability in the HBase MapReduce package. Does it exist?

greedybuddha
  • 7,488
  • 3
  • 36
  • 50
user44242
  • 1,168
  • 7
  • 20

2 Answers2

3

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);

David
  • 3,251
  • 18
  • 28
1

You can use job.setCombiner(.class); method to use combiner class in map reduce. Reducer will aslso acts as an combiner

Navyah
  • 1,660
  • 10
  • 33
  • 58