Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
4 views
in Big Data Hadoop & Spark by (11.4k 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 (32.3k points)
edited by

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.

You can refer the following video for more information regarding Hadoop:

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...