If you installed Sqoop1 with the MapR Installer, use the latest version of the MapR Installer to perform the upgrade.
This page contains the following topics describing how to upgrade Sqoop1 in the MapR distribution for Apache Hadoop:
Before you upgrade, make sure that the version of the MapR core software on your cluster supports the version of Sqoop you want to upgrade to. See the Sqoop Release Notes and the Interoperability Matrix.
deb repositories always contain the Sqoop1 version recommended for the latest release of the MapR core. You can connect to an internet repository or prepare a local repository with any version of Sqoop1 you need. For more details on setting up repositories, see Preparing Packages and Repositories. You can also manually download packages to install.
The following ecosystem repositories are available:
|MapR 5.x Ecosystem Repository (for repository install)|
|All Ecosystem Packages (for manual install)|| |
If you plan to install from a repository, update the repository cache on each node where Sqoop1 is installed.
If you have changed configuration properties on your current installation of Sqoop, you probably want to apply those changes to the updated version. Configuration properties are located in
In general, you can migrate your configuration changes with the following procedure:
- Before upgrade, save configuration files on all nodes where Sqoop is installed.
- Upgrade Sqoop software.
- Migrate custom configuration settings into the new default files in the
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.
To manually remove a prior version and install the latest version in the repository
Copy custom configuration files in
/opt/mapr/sqoop/sqoop-<version>/conf to a safe location before proceeding.
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.
- Download the RPM package file for
mapr-sqoopversion 1.4.5 from http://package.mapr.com/releases/ecosystem-all/.
Install the package with
This process is not supported on Ubuntu, because
dpkg cannot manage multiple versions of a package with the same name.