hadoop: difference between 0 reducer and identity reducer?

前端 未结 4 868
故里飘歌
故里飘歌 2020-12-01 05:50

I am just trying to confirm my understanding of difference between 0 reducer and identity reducer.

  • 0 reducer means reduce step will be skipped and mapper outp
4条回答
  •  旧巷少年郎
    2020-12-01 06:19

    It depends on your business requirements. If you are doing a wordcount you should reduce your map output to get a total result. If you just want to change the words to upper case, you don't need a reduce.

提交回复
热议问题