When manually upgrading (manual offline and manual rolling upgrade) from version 4.x to version 6.x and switching
from classic mode to YARN mode, you must manually update the Hadoop configuration file.

This section describes three common methods for upgrading from one MapR Core release to another. The workflows in this
section introduce you to the high-level steps for each method and provide links to pages showing more detail.

If you use the MapR Installer to upgrade the cluster, some post-upgrade steps for MapR Core do not need to be performed.
This page describes the post-upgrade steps that are performed by the MapR Installer and the steps that you must perform
manually.

After upgrading MapR Core using either a manual offline or rolling upgrade method (not upgrading with the MapR Installer)
and upgrading your ecosystem components, configure and restart the cluster and services.

When manually upgrading (manual offline and manual rolling upgrade) from version 4.x to version 6.x and switching
from classic mode to YARN mode, you must manually update the Hadoop configuration file.

You can apply a patch by using the MapR Installer, by using the command line (a manual process), or by using a MapR Installer
Stanza.

Step 6: Update Hadoop Configuration File

When manually upgrading (manual offline and manual rolling upgrade) from version 4.x
to version 6.x and switching from classic mode to YARN mode, you must manually update the
Hadoop configuration file.

This task is applicable only if you are upgrading from any version of 4.x to any
version of 6.x and you did not convert from classic mode to YARN mode before the
upgrade. In addition, this step is applicable for only the manual offline upgrade
and the manual rolling upgrade. This step is not applicable when using the MapR
Installer upgrade method.

Change directory to /opt/mapr/conf directory.

cd /opt/mapr/conf/

Edit the Hadoop configuration file

vim hadoop_version

Change the yarn_version parameter to the actual version of
Hadoop. For example: