Pre-Upgrade Steps for Tez

Complete the following steps before you upgrade Tez with or without the Installer.

If you made any configuration changes that you want to carry over to the next version, you need to back up the configuration properties files:

  1. Locate the files in the /opt/mapr/tez/tez-<version>/conf/ and /opt/mapr/tez/tez-<version>/tomcat/apache-tomcat-<version>/webapps/tez-ui/config/ directories.
  2. Copy the files to a location outside the installation directory.
  3. Delete the old /apps/tez directory on the filesystem layer.
    hadoop fs -rm -r /apps/tez
    After upgrading, you can reapply changes to the updated Tez installation using the backup.

Preserving the Tez Configuration

Starting from MEP 6.0.0, Tez assists you in preserving the user configuration.