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.
About this task
/opt/mapr/flume/flume-<version>/
, so the files for multiple versions can
co-exist.Procedure
-
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
- On RedHat and CentOS:
-
To keep a prior version and install a newer version (manual installation), perform the
following steps:
- On RedHat and CentOS:
- Download the RPM package file for the mapr-flume version you want to install from http://package.mapr.com/releases/ecosystem-all/.
- Install the package with
rpm
.rpm -i --force mapr-flume-<version>.rpm
- On Ubuntu:
This process is not supported on Ubuntu, because
apt-get
anddpkg
cannot manage multiple versions of a package with the same name.
- On RedHat and CentOS:
What to do next
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/
).