Upgrading Hive

This section describes how to upgrade Hive without the MapR Installer.

Use one of the following methods to upgrade the Hive components on all nodes where Hive is installed.

To:
  • Upgrade with a package manager, install new packages from the repository:
    • On RedHat and CentOS:
      yum update mapr-hive mapr-hiveserver2 mapr-hivemetastore mapr-hivewebhcat
    • On Ubuntu:
      apt-get install mapr-hive mapr-hiveserver2 mapr-hivemetastore mapr-hivewebhcat
    • On SUSE:
      zypper update mapr-hive mapr-hiveserver2 mapr-hivemetastore mapr-hivewebhcat
  • Manually remove a prior version and manually install the latest version in the repository, run the package manager twice, first to remove the old version, and again to install the new version.
    Note: In this case, configurations are not preserved automatically.
    • On RedHat and CentOS:
      yum remove mapr-hive mapr-hiveserver2 mapr-hivemetastore mapr-hivewebhcat
      yum install mapr-hive mapr-hiveserver2 mapr-hivemetastore mapr-hivewebhcat
    • On Ubuntu:
      apt-get remove mapr-hive mapr-hiveserver2 mapr-hivemetastore mapr-hivewebhcat
      apt-get install mapr-hive mapr-hiveserver2 mapr-hivemetastore mapr-hivewebhcat
    • On SUSE:
      zypper remove mapr-hive mapr-hiveserver2 mapr-hivemetastore mapr-hivewebhcat
      zypper install mapr-hive mapr-hiveserver2 mapr-hivemetastore mapr-hivewebhcat
To apply custom configurations to the new version, migrate any custom configuration settings into the new default files in the conf directory. See Post-Upgrade Steps for Hive.