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
    • On Ubuntu:
      apt-get install mapr-hive mapr-hiveserver2 mapr-hivemetastore
    • On SUSE:
      zypper update mapr-hive mapr-hiveserver2 mapr-hivemetastore
  • Manually remove a prior version and manaully 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.
    • On RedHat and CentOS:
      yum remove mapr-hive mapr-hiveserver2 mapr-hivemetastore 
      yum install mapr-hive mapr-hiveserver2 mapr-hivemetastore
    • On Ubuntu:
      apt-get remove mapr-hive mapr-hiveserver2 mapr-hivemetastore
      apt-get install mapr-hive mapr-hiveserver2 mapr-hivemetastore
    • On SUSE:
      zypper remove mapr-hive mapr-hiveserver2 mapr-hivemetastore
      zypper install mapr-hive mapr-hiveserver2 mapr-hivemetastore
Note: If you want Warden to manage the WebHCat server, also install the mapr-hivewebhcat package on a node that already includes mapr-hive.
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.