Upgrading the Software

Use one of the following methods to upgrade the Sqoop component.

To upgrade with a package manager:

After configuring repositories so that the version you want to install is available, you can use a package manager to install from the repository.
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:

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:

Sqoop installs into separate directories named after the version, such as /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:

  1. Download the RPM package file for mapr-sqoop version 1.4.5 from http://package.mapr.com/releases/ecosystem-all/.
  2. Install the package with rpm.
    rpm -i --force mapr-sqoop-1.4.5.<build>.noarch.rpm
This process is not supported on Ubuntu, because apt-get and dpkg cannot manage multiple versions of a package with the same name.