Upgrading the Software
About this task
Use one of the following methods to upgrade the Sqoop component.
To upgrade with a package manager:
About this task
- On RedHat and CentOS
-
yum upgrade mapr-sqoop
- On Ubuntu
-
apt-get install mapr-sqoop
To manually remove a prior version and install the latest version in the repository:
About this task
WARNING: Copy custom configuration files in
/opt/mapr/sqoop/sqoop-<version>/conf
to a safe location before
proceeding. - On RedHat and CentOS
-
yum remove mapr-sqoop yum install mapr-sqoop
- On Ubuntu
-
apt-get remove mapr-sqoop apt-get install mapr-sqoop
To keep a prior version and install a newer version:
About this task
/opt/mapr/sqoop/sqoop-<version>/
, so the files for multiple
versions can co-exist. To keep the prior version when installing a new version, you must manually install the package file for the new version.
For example, to install version 1.4.5 while keeping any previously installed version, perform the steps below.
On RedHat and CentOS:
Procedure
-
Download the RPM package file for
mapr-sqoop
version 1.4.5 from http://package.mapr.com/releases/ecosystem-all/. -
Install the package with
rpm
.rpm -i --force mapr-sqoop-1.4.5.<build>.noarch.rpm
What to do next
apt-get
and
dpkg
cannot manage multiple versions of a package with the same name.