Pre-Upgrade Steps for Hadoop and YARN

Complete the following steps before you upgrade Hadoop and YARN with or without the Installer.

Before release 6.2.0 and MEP 7.0.0, Hadoop and YARN services were part of the Data Fabric repository for core packages. Upgrading Hadoop was not possible because releases 5.2.x, 6.0.x, and 6.1.x all used the same Hadoop version (version 2.7.0). Beginning with release 6.2.0 and MEP 7.0.0, Hadoop and YARN services were removed from Data Fabric core and delivered as ecosystem components in the MEP repository. For more information, see Installing Hadoop and YARN.

Delivering Hadoop and YARN services in a MEP makes it possible to upgrade the packages independently of the HPE Ezmeral Data Fabric. Hadoop Protocol Versions shows the currently supported Hadoop versions. The following table describes the supported Hadoop upgrades:
If your current Hadoop version is . . . . To upgrade, you must
2.7.0 Upgrade to core 6.2.x and install Hadoop components from a MEP that is supported on core 6.2.x. See Upgrade Workflows (Release 6.1 to 6.2).
2.7.4.0 or later Upgrade to a MEP that provides a newer Hadoop version.
To prepare to upgrade Hadoop 2.7.4.0 or later:
  1. Stop the following services if they are installed:
    maprcli node services -name resourcemanager -action stop -nodes <IP-address>
    maprcli node services -name nodemanager -action stop -nodes <IP-address>
    maprcli node services -name historyserver -action stop -nodes <IP-address>
    maprcli node services -name timelineserver -action stop -nodes <IP-address>
    

You do not need to back up configuration files manually. Hadoop configuration files are automatically backed up to this directory: /opt/mapr/hadoop/hadoop-<timestampversion>