Upgrade the Software

You can use the package manager to upgrade Flume or you can perform a manual install that keeps the prior version of Flume when installing a new version of Flume.

Flume installs into separate directories named after the version, such as /opt/mapr/flume/flume-<version>/, so the files for multiple versions can co-exist.
  1. To upgrade with the package manager, run one of the following commands:
    • On RedHat and CentOS:
      yum upgrade mapr-flume
    • On Ubuntu:
      apt-get install mapr-flume
  2. To keep a prior version and install a newer version (manual installation), perform the following steps:
    • On RedHat and CentOS:
      1. Download the RPM package file for the mapr-flume version you want to install from http://package.mapr.com/releases/ecosystem-all/.
      2. Install the package with rpm.
        rpm -i --force mapr-flume-<version>.rpm
    • On Ubuntu:

      This process is not supported on Ubuntu, because apt-get and dpkg cannot manage multiple versions of a package with the same name.

To apply custom configurations to the new version, migrate any custom configuration settings into the new default files in the conf directory (/opt/mapr/flume/flume-<version>/conf/).