Configure Connection to Data Source¶
Alation Cloud Service Applies to Alation Cloud Service instances of Alation
Customer Managed Applies to customer-managed instances of Alation
Core Connector Core connectors are included with all Alation platform tiers (subject to each tier’s connector limits) and are fully supported by Alation.
Use this page to configure the connection between Alation and your Hive data source.
Provide Access¶
On the Access tab, set the data source visibility using these options:
Public Data Source—The data source will be visible to all users of the catalog.
Private Data Source—The data source will be visible to the users allowed access to the data source by Data Source Admins.
You can add new Data Source Admin users in the Data Source Admins section.
Configure General Settings¶
Note
This section describes configuring settings for credentials and connection information stored in the Alation database. If your organization has configured Azure KeyVault or AWS Secrets Manager to hold such information, the user interface for the General Settings page will change to include the following icons to the right of most options:
By default, the database icon is selected, as shown. In the vault case, instead of the actual credential information, you enter the ID of the secret. See Configure Secrets for OCF Connector Settings for details.
Perform the configuration on the General Settings tab.
Configure Application Settings¶
Specify Application Settings if applicable. Click Save to save the changes after providing the information.
Parameter |
Description |
|---|---|
BI Connection Info |
This parameter is used to generate lineage between the current data source and another source in the catalog, for example a BI source that retrieves data from the underlying . database The parameter accepts host and port information of the corresponding BI data source connection. Use the following format: You can provide multiple values as a comma-separated list:
Find more details in BI Connection Info |
Enable Automatic Lineage Generation |
The Enable Automatic Lineage Generation toggle is ON by default, which means Alation generates lineage automatically during metadata extraction (MDE). You only need to use the toggle if you want to disable automatic lineage generation or re-enable it later. To disable or enable automatic lineage generation:
|
Configure Connector Settings¶
Configure the Data Source Connection¶
Populate the data source connection information and save the values by clicking Save in this section.
Parameter |
Description |
|---|---|
JDBC URI |
Specify the JDBC URI in the required format. |
Username |
Specify the service account username, or Kerberos principal when Kerberos authentication is used. |
Password |
Specify the service account password. |
CData RTK License Key |
Optional. Specify your own CData RTK license key for the JDBC driver. If you leave this field blank, the connector uses the license key bundled with the connector. The connector uses a key you enter here instead of the bundled key, and you do not need to change the JDBC URI or install a new connector version. The key must be valid for the CData 2026 driver that this connector ships with. |
Note
The Hive Gen2 OCF connector connects directly to HiveServer2 over JDBC and doesn’t require any additional adapter process configuration.
Configure Kerberos¶
Provide the Kerberos information and save the values by clicking Save in this section.
Parameter |
Description |
|---|---|
Enable Kerberos authentication |
Enable or disable Kerberos authentication by selecting or clearing the Enable Kerberos authentication checkbox. If enabled, upload the krb5.conf file using the upload link under the checkbox. The connector reads this file to determine the Kerberos realm and KDC, and does not write it to disk. |
Use keytab |
To enable Kerberos with keytab authentication, select the Use keytab checkbox and upload the keytab file for the service account using the upload link under the checkbox. When this checkbox is cleared, Kerberos authenticates using the Username and Password fields above instead. |
Configure SSL¶
Provide the SSL information and save the values by clicking Save in this section.
Note
Upload the SSL TrustStore in JKS format. If you are migrating from the Hive OCF connector, convert its PEM/DER SSL certificate into a JKS truststore before uploading it here.
Parameter |
Description |
|---|---|
Enable SSL |
Enable SSL by selecting the Enable SSL checkbox. If enabled, upload the SSL TrustStore using the upload link below. |
SSL TrustStore |
Upload the JKS-format truststore file containing the server’s certificate chain. |
TrustStore Password |
Specify the password for the uploaded SSL TrustStore. Alation deletes the password if you delete the data source connection. |
Configure Performance¶
Parameter |
Description |
|---|---|
Timeout |
The number of seconds the connector waits for the server to establish the JDBC connection before failing the operation. The default is 300 seconds. This setting bounds connection setup time only; it does not bound how long a long-running metadata extraction or profiling query takes once the connection is established. |
Note
In the Hive Gen2 connector, metadata extraction always runs over a single JDBC connection.
Configure Logging¶
Select the logging level for the connector logs and save the values by clicking Save in this section. The available log levels are based on the Log4j framework.
Parameter |
Description |
|---|---|
Log level |
Select the log level to generate logs. The available options are INFO, DEBUG, WARN, TRACE, ERROR, FATAL, ALL. |
You can view the connector logs in Admin Settings > Manage Connectors > Hive Gen2 OCF Connector.
Obfuscate Literals¶
Obfuscate Literals—Enable this toggle to hide actual values in the query statements that are ingested during query log ingestion or executed in Compose. This toggle is disabled by default.
Test the Connection¶
Under Test Connection, click Test to validate the connection settings and the CData license key.
If the connection test fails, the connector logs contain a detailed error message. The following table lists known errors that Test Connection can return:
Error Message |
Solution |
|---|---|
|
The driver reported a Kerberos/GSS failure. Verify the username/password or keytab are valid, and confirm the connector host can reach the KDC. |
|
The Username field is empty and you enabled Kerberos authentication. Set the Username field to a valid Kerberos principal. |
|
You enabled Use keytab but did not upload a keytab
file. Upload the |
|
You selected Kerberos with password authentication but did not set a password. Set the Password field, or switch to keytab authentication. |
|
The JDBC URI already contains |
|
The uploaded truststore is not trusted, is in the wrong format, or the password is incorrect. Verify the JKS truststore contains the server’s certificate chain and that the password matches. |
|
A JDBC URI passthrough property collides with a
connector-managed key, for example a raw |
|
The connection to a Hive 2.x server fails with the
message |
|
The username or password is incorrect for Basic authentication. Verify the service account credentials. |
|
The CData RTK license key is missing, expired, or not valid for the CData 2026 driver. Enter a valid key in the CData RTK License Key field, or clear the field to use the license key bundled with the connector. See Resolve CData License Errors. |
Delete the Data Source¶
To delete the Data Source, refer Delete a Data Source.