You must manually import the MapReduce configurations to YARN using Cloudera Manager and overwrite existing YARN configuration and role assignments so that the services use YARN as the computation framework instead of MapReduce version 1 (MRv1).
The import process not just imports configuration settings, but it also:
- Configures services to use YARN as the MapReduce computation framework instead
of MapReduce.
- Overwrites existing YARN configuration and role assignments.
-
In Cloudera Manager, slect the YARN service.
-
Stop the YARN service.
-
Click Action and then select Import MapReduce
Configuration.
The import wizard displays a warning letting you know that it will
import your configuration, restart the YARN service and its dependent services,
and update the client configuration.
-
Click Continue to process.
The next page indicates some additional configuration required by
YARN.
-
Verify or modify the configurations.
-
Click Continue.
The Switch Cluster to MRv2 step proceeds.
-
Click Finish, when all steps are completed.
Optionally, you can remove the MapReduce services:
-
Click the Cloudera Manager logo to return to the Home page.
-
Find the MapReduce row and righ-click on the downward facing arrow.
-
Select Delete.
-
Click Delete to confirm.
Recompile JARs used in MapReduce application.