Installing the Cloudera Connector for Netezza

Use one of the following methods to install the Sqoop connectors for Netezza:

Installation with CDH 5 and Cloudera Manager 5

Step 1: Adding the Sqoop service

The Sqoop1 Client Gateway sets up and manages configuration for the connector for hosts where you execute Sqoop1 commands. If you do not already have the Sqoop1 Client Gateway deployed in your cluster, deploy it before proceeding.

Step 2: Download, Distribute, and Activate the Sqoop Parcels

Parcels for Sqoop connectors are prefixed by SQOOP_, followed by the name of the connector.

Follow the instructions in Managing Parcels to download, distribute, and activate Sqoop parcels.

Installation without Cloudera Manager

  1. To install the Cloudera Connector for Netezza, open the distribution archive in a convenient location such as /usr/lib. This creates a directory (such as/usr/lib/sqoop-nz-connector-1.4c5) that contains the jar file of the compiled version of the connector. Note the path to this jar file (for example, for version 1.4c5 you would use/usr/lib/sqoop-nz-connector-1.4c5/sqoop-nz-connector-1.4c5.jar).
  2. Copy the Netezza JDBC driver to the lib directory of the Sqoop installation. You can obtain this driver from the Netezza Client distribution for your operating system. Without this driver, the connector will not function correctly.
  3. Create a text file called connectors in a directory namedmanagers.d within the Sqoop configuration directory. Create the managers.d directory if it does not exist.
  4. The connectors file must contain the connector class name followed by the complete path to the directory where the connector jar is located. For example:
    com.cloudera.sqoop.manager.NetezzaManagerFactory=/usr/lib/sqoop-nz-connector-1.4c5/sqoop-nz-connector-1.4c5.jar

The NetezzaManagerFactory acts as a single point of delegation for invoking the applicable connector bundled with this distribution.