Failure to download the Hadoop client libraries

If you have CDH, the installer will fail if it can't download the required Hadoop client libraries. This can occur if you don't have an internet connection, or if some of the libraries are missing or incomplete.

If this occurs, you'll receive an error similar to the following:
Error! Cannot download <client_library_package>

To fix this problem:

  1. On the install machine, download the following packages from http://archive-primary.cloudera.com/cdh5/cdh/5/ and extract them:
    Note: It is recommended that you use a browser other than Chrome for this.
    • spark-<spark_version>.cdh.<cdh_version>.tar.gz
    • hive-<hive_version>.cdh.<cdh_version>.tar.gz
    • hadoop-<hadoop_version>.cdh.<cdh_version>.tar.gz
    • avro-<avro_version>.cdh.<cdh_version>.tar.gz
    The location you extract them to is arbitrary.
  2. Open bdd.conf in a text editor and locate the HADOOP_CLIENT_LIB_PATHS property.
    Note that there are three templates below this property.
  3. Copy and paste the value of the first template to HADOOP_CLIENT_LIB_PATHS and replace each instance of $UNZIPPED_<COMPONENT>_BASE with the absolute path to that library's location on the install machine.
  4. Rerun the installer.

For instructions on rerunning the installer, see Rerunning the installer.