- In the Data Source Explorer or Navigator, click
.
- Do the following:
- Select Hadoop from Connection Profile Types.
- Type a Name to identify the Connection Profile.
- [Optional] Type a Description of the Connection Profile.
- Click Next.
- Specify profile details:
- Select Cloudera.
- [Optional] If your Hadoop Cloudera system is configured within a Kerberos realm, select Kerberos under Security Authentication.
- [Optional] Select the applicable connection service:
Connection Service Option Description Smart Loader Imports data from text delimited files into a Hadoop Cloudera System. Hive Uses Hive JDBC to create and run SQL.
If you select this option, you cannot select the Impala option.
Impala Uses Hive Impala JDBC to create and run SQL.
If you select this option, you cannot select the Hive option.
- [Optional] Specify when to connect:
Option Action Connect when the wizard completes Connect to the database when you complete the profile. Connect every time the workbench is started Connect to this database each time you launch the workbench. - Click Next.
- If you selected Smart Loader, Hive, or Impala, enter the name of the Kerberos Realm.
- Do the following based on the connection service you selected then click Next to view Summary information:
If you selected Complete the following: Hive or Impala Enter the JDBC connection properties: - Select a driver from Select a driver from the drop-down or create one:
- Click
.
- Select the External Cloudera Driver template for your system type.
- In Driver name, enter a unique name for the driver definition.
- On the JAR List tab, click Add JAR/Zip to add the list of JDBC driver JARs.
- On the Properties tab, edit the JDBC driver properties.
- Click OK.
- Click
- In JDBC Host, type the host name of the Hadoop System to which to connect.
- In JDBC Port Number, type the port number to use to communicate with the host.
- In JDBC Database, type the name of the Hadoop database.
- In JDBC User Name, type the user name to use to connect to the database.
For systems configured with Kerberos authentication, this is typically the principal user name.
- In JDBC Password, type the password required to access the database using Hive JDBC.
- Select Save Password to save the password.
- Select HTTP Transport Mode to transfer data using the HTTP secure transfer mode.
- In HTTP Path type the HTTP server path or accept the default.
- Select LDAP Security Enabled to enable LDAP authentication.
- Select a driver from Select a driver from the drop-down or create one:
- Click Finish to create the connection profile.