The migration steps from MRv1 to MRv2
The migration steps from MRv1 to MRv2 can be categorized as:
The configuration changes to use YARN as the MapReduce execution framework
The binary / source compatibility while working with MapReduce APIs
Configuration changes
In this section, we'll discuss the configuration changes required during migration from MRv1 to MRv2. The information provided in this section is limited to the minimum configuration changes required during the migration. Detailed information regarding the deprecated and new properties is provided in a Cloudera blog at https://www.cloudera.com/content/cloudera/en/documentation/core/v5-2-x/topics/cdh_ig_mapreduce_to_yarn_migrate.html.
The upcoming sections describe the changes while migrating from MRv1 to MRv2.
The MapReduce framework
If you recall the configuration of a Hadoop cluster in MRv1, the
mapred-site.xml
file contains the host information related to the JobTracker service. In MRv2, the following property in themapred-site.xml...