This is the documentation for CDH 5.1.x.
Documentation for other versions is available at Cloudera Documentation.

Upgrading Sqoop 1 from CDH 4 to CDH 5

To upgrade Sqoop 1 from CDH 4 to CDH 5, proceed as follows.

  Note:

If you have already performed the steps to uninstall CDH 4 and all components, as described under Upgrading from CDH 4 to CDH 5, you can skip Step 1 below and proceed with installing the new CDH 5 version of Sqoop 1.

Step 1: Remove the CDH 4 version of Sqoop 1

To remove Sqoop 1 on a Red Hat-compatible system:

$ sudo yum remove sqoop

To remove Sqoop 1 on an Ubuntu or other Debian system:

$ sudo apt-get remove sqoop

To remove Sqoop 1 on a SLES system:

$ sudo zypper remove sqoop

Step 2: Install the new version of Sqoop 1

Follow instructions under Installing the Sqoop 1 RPM Packages or Installing the Sqoop 1 Tarball.

  Important: Configuration files
  • If you install a newer version of a package that is already on the system, configuration files that you have modified will remain intact.
  • If you uninstall a package, the package manager renames any configuration files you have modified from <file> to <file>.rpmsave. If you then re-install the package (probably to install a new version) the package manager creates a new <file> with applicable defaults. You are responsible for applying any changes captured in the original configuration file to the new configuration file. In the case of Ubuntu and Debian upgrades, you will be prompted if you have made changes to a file for which there is a new version; for details, see Automatic handling of configuration files by dpkg.

The upgrade is now complete.