Installing the Sqoop 1 Tarball
The Sqoop 1 tarball is a self-contained package containing everything necessary to use Sqoop 1 with YARN on a Unix-like system.
Make sure you have read and understood the section on tarballs under How Packaging Affects CDH 5 Deployment before you proceed with a tarball installation.
To install Sqoop 1 from the tarball, unpack the tarball in a convenient location. Once it is unpacked, add the bin directory to the shell path for easy access to Sqoop 1 commands. Documentation for users and developers can be found in the docs directory.
To install the Sqoop 1 tarball on Linux-based systems:
Run the following command:
$ (cd /usr/local/ && sudo tar -zxvf _<path_to_sqoop.tar.gz>_)
When installing Sqoop 1 from the tarball package, you must make sure that the environment variables JAVA_HOME and HADOOP_MAPRED_HOME are configured correctly. The variable HADOOP_MAPRED_HOME should point to the root directory of Hadoop installation. Optionally, if you intend to use any Hive or HBase related functionality, you must also make sure that they are installed and the variables HIVE_HOME and HBASE_HOME are configured correctly to point to the root directory of their respective installation.
|<< Installing the Sqoop 1 RPM or Debian Packages||Installing the JDBC Drivers >>|