HCatalog Connection

The HCatalog Connection shared resource contains all the necessary parameters to connect to HCatalog. It can be used by the Hive, MapReduce, Pig, and WaitForJobCompletion activities.

General

In the General panel, you can specify the package that stores the HCatalog Connection shared resource and the shared resource name.

The following table lists the fields in the General panel of the HCatalog Connection shared resource:

Field Module Property? Description
Package No The name of the package where the shared resource is located.
Name No The name as the label for the shared resource in the process.
Description No A short description for the shared resource.

HCatalogConnection Configuration

In the HCatalogConnection Configuration panel, you can provide necessary information to connect the plug-in with HCatalog. You can also connect to a Kerberized WebHCat server.

The following table lists the fields in the HCatalogConnection Configuration panel of the HCatalog Connection shared resource:

Field Module Property? Description
HCatalog Url Yes The WebHCat URL that is used to connect to HCatalog. The default value is http://localhost:50111.
User Name Yes The unique user name that is used to connect to HCatalog.
HDFSConnection No The HDFS Connection shared resource that is used to create a connection between the plug-in and HDFS. Click to select an HDFS Connection shared resource.

If no matching HDFS Connection shared resources are found, click Create Shared Resource to create one. For more details, see Creating an HDFS Connection.

Enable Kerberos No If you want to connect to a Kerberized WebHCat server, you can select this check box.
Note: If your server uses the AES-256 encryption, you must install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files on your machine. For more details, see Installing JCE Policy Files.
Kerberos Method No The Kerberos authentication method that is used to authorize access to WebHCat. Select an authentication method from the list:
  • Keytab: specify a keytab file to authorize access to WebHCat.
  • Cached: use the cached credentials to authorize access to WebHCat.
  • Password: enter the name of the Kerberos principal and a password for the Kerberos principal.

This field is displayed only when you select the Enable Kerberos check box.

Kerberos Principal Yes The Kerberos principal name that is used to connect to WebHCat.

This field is displayed only when you select the Enable Kerberos check box.

Kerberos Password Yes The password for the Kerberos principal.

This field is displayed only when you select the Password from the Kerberos Method list.

Kerberos Keytab Yes The keytab that is used to connect to WebHCat.

This field is displayed only when you select Keytab from the Kerberos Method list.

Test Connection

You can click Test Connection to test whether the specified configuration fields result in a valid connection.