hadoop.mapred vs hadoop.mapreduce?

前端 未结 1 1453
再見小時候
再見小時候 2020-11-27 19:43

Why are there two separate packages map-reduce package in Apache\'s hadoop package tree:

org.apache.hadoop.mapred 

http://javasourcecode.or

相关标签:
1条回答
  • 2020-11-27 19:48

    They are separated out because both of these packages represent 2 different APIs. org.apache.hadoop.mapred is the older API and org.apache.hadoop.mapreduce is the new one. And it was done to allow programmers write MapReduce jobs in a more convenient, easier and sophisticated fashion. You might find this presentation useful, which talks about the differences in detail.

    Hope this answers your question.

    0 讨论(0)
提交回复
热议问题