0 votes
1 view
in Big Data Hadoop & Spark by (11.5k points)

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

  • org.apache.hadoop.mapred
  • org.apache.hadoop.mapreduce

Why are they separated out?

1 Answer

0 votes
by (24.8k points)

Both of these packages are separated out because both of them represent two different APIs.

  • org.apache.hadoop.mapreduce is the newer API.

  • org.apache.hadoop.mapred is the older API.

The older API was running fine but the new API was introduced to give a more convenient platform to the programmers where they can run their complex Java code.

...