Add a Hive Source Datastore¶
A source datastore is a storage location Qualytics connects to so it can profile, scan, and monitor data. Adding Hive as a source lets Qualytics query it through the Hive JDBC driver and run quality operations on the tables it discovers.
Before you start, review the Minimum Hive Permissions the connecting user needs.
The destination lives on another connector
Qualytics cannot write to Hive, so a Hive datastore cannot be used as an enrichment datastore. Create one on a supported connector, then link it as the Hive datastore's destination. See Supported Connectors for the list.
Field reference¶
The Add Datastore page shows the sections below when Hive is selected. When reusing an existing connection, the Connection Properties section, with its Secrets Management, Authentication, and Advanced groups, comes already filled in and read-only: Qualytics has already validated those credentials, so you fill in only the Location and the General fields. To change a saved connection's credentials, edit the connection through the Manage Connections page; edits there apply to every datastore that reuses the connection.
Connection Properties¶
These fields define the HiveServer2 endpoint Qualytics connects to, in the order the form shows them. They belong to the connection: when reusing an existing connection, they come already filled in and read-only.
| Field | Required | Type | Description |
|---|---|---|---|
| Connection Name | Text | A label for the saved connection (e.g., acme_hive_reporting), so other datastores can reuse it later. |
|
| HashiCorp Vault | Toggle | Sits in the collapsed Secrets Management group, right below Connection Name. Turn it on to pull credentials from a secrets manager instead of typing them into the form; it shows the six fields below. Despite the label, any secrets manager that exposes a compatible REST API works, not only HashiCorp Vault; see HashiCorp Vault. | |
| Login URL | Text | Shown when HashiCorp Vault is on. The full URL of the login endpoint (e.g., https://vault.example.com/v1/auth/approle/login). With Vault namespaces, add the namespace after /v1/, as in /v1/<namespace>/auth/approle/login. |
|
| Credentials Payload | Text | Shown when HashiCorp Vault is on. A JSON body containing the credentials Vault expects (e.g., {"role_id":"...","secret_id":"..."}). |
|
| Token JSONPath | Text | Shown when HashiCorp Vault is on. The JSONPath that extracts the client token from Vault's response. Defaults to $.auth.client_token. |
|
| Secret URL | Text | Shown when HashiCorp Vault is on. The full URL of the secret, including https:// and the host (e.g., https://vault.example.com/v1/secret/data/hive). With Vault namespaces, add the namespace after /v1/. |
|
| Token Header Name | Text | Shown when HashiCorp Vault is on. The HTTP header name used to send the token. Defaults to X-Vault-Token. |
|
| Data JSONPath | Text | Shown when HashiCorp Vault is on. The JSONPath that extracts the key/value pairs from Vault's response. Use $.data.data for a KV version 2 secret (its API path contains /data/) and $.data for KV version 1 or the database secrets engine. The form pre-fills $.data. |
|
| ZooKeeper HA | Checkbox | Select it when the cluster is fronted by ZooKeeper, so Qualytics finds HiveServer2 through the ZooKeeper quorum instead of connecting to one fixed endpoint. Off by default. It works with either authentication Type. | |
| Host | Text | The hostname or address of HiveServer2. With ZooKeeper HA selected, list the ZooKeeper quorum hosts separated by commas instead, each with its client port (for example zk1:2181,zk2:2181,zk3:2181). A host written without a port gets the Port below. |
|
| Port | Number | The port HiveServer2 listens on. Defaults to 10000. With ZooKeeper HA selected, it is added to every quorum host written without its own port, so set it to the ZooKeeper client port (commonly 2181) or write the port on each host. |
|
| Execution Engine | Option | Shown below the Authentication group. The engine HiveServer2 runs Qualytics' queries on: TEZ or MR (MapReduce). Starts empty, which keeps the cluster's own hive.execution.engine setting. Sent as hive.execution.engine in the JDBC URL. |
|
| Job Queue | Text | Shown once an Execution Engine is selected. The YARN queue Qualytics' queries run in, for example root.etl, so they use the capacity your team assigns. Sent as tez.queue.name, or as mapreduce.job.queuename when Execution Engine is MR. Left empty, the cluster's default queue applies. It can use only letters, digits, _, - and ., up to 255 characters. |
Note
Reference a key from the secret in any Connection Properties or Authentication field with ${key}, for example ${password}. Write it with braces (${key}, never $.key) and match the key name's case. Qualytics resolves it each time the connection is opened, so a changed value takes effect on the next connection. Setup steps, the namespace rule, and a troubleshooting page are on the HashiCorp Vault pages.
Authentication¶
Choose how Qualytics authenticates to HiveServer2. Setting Type changes the credential fields shown below it, so pick the tab that matches your choice. These fields also belong to the connection: already filled in and read-only when reusing one.
| Field | Required | Type | Description |
|---|---|---|---|
| Type | Option | Set to Basic, which is the default (BASIC in the API). |
|
| User | Text | The Hive user Qualytics connects as. Comes filled in as hive. |
|
| Password | Text | The password for that user. Leave it empty on a cluster that does not authenticate. |
| Field | Required | Type | Description |
|---|---|---|---|
| Type | Option | Set to Kerberos (KERBEROS in the API). |
|
| Client Principal | Text | The identity Qualytics logs in as, exactly as it appears in the keytab, for example qualytics@EXAMPLE.COM. Do not use a service principal of the form service/_HOST or service/_HOST@REALM here: login does not substitute a hostname, so the connection test fails. |
|
| HiveServer2 Service Principal | Text | The HiveServer2 service identity, for example hive/_HOST@EXAMPLE.COM. _HOST is replaced with the name of the HiveServer2 host Qualytics connects to. When the connection has its own keytab and this field is empty, Qualytics uses hive/_HOST@ followed by the realm of the Client Principal. Fill it in when the service name or realm differs, or when the connection has no keytab. |
|
| Keytab | File | The keytab file holding the key for the Client Principal. Must be named with a .keytab extension. Stored encrypted and never displayed back once saved. Upload a new one to change it. Leaving the field empty on an edit keeps the one already stored. Upload it on every connection: a connection that never had one can log in only on an older self-hosted deployment with a Kerberos login of its own. Or click Type a value instead and enter a ${key} reference to the file held in your secrets manager, stored as its base64 form. See File fields. |
|
| krb5.conf | File | The Kerberos configuration for the cluster's realm, so Qualytics can reach its Key Distribution Center. It holds realm names and KDC hostnames rather than credentials, so it is not treated as a secret. Or click Type a value instead and enter a ${key} reference to the file held in your secrets manager. See File fields. |
No password is asked for. Qualytics authenticates with the uploaded keytab and renews its tickets on its own, so there is nothing to run by hand. Because the credentials live on the connection, changing them, or adding a second cluster, is a change to the connection rather than to your deployment.
For example, a client principal of qualytics@CLIENT.EXAMPLE.COM can connect to HiveServer2 as hive/_HOST@SERVER.EXAMPLE.COM when the Kerberos realms trust each other. Enter each value in its own field.
Connections saved with the service principal in one field
Earlier, a Kerberos connection had a single Principal field that held the HiveServer2 service principal. A connection that has its own keytab and still has a value such as hive/_HOST@EXAMPLE.COM in Client Principal now fails the connection test. Edit the connection: move that value to HiveServer2 Service Principal and enter the identity in the keytab as Client Principal. A connection without a keytab of its own keeps working as saved only while the deployment keeps its own Kerberos login. Helm chart 2026.9.1 and later no longer configure one, so upload a keytab and a krb5.conf on the connection before upgrading a self-hosted deployment to those versions.
ZooKeeper connections saved earlier
Zookeeper and Zookeeper Kerberos used to be options of Type. Connections saved with them keep working: Qualytics reads them as Basic or Kerberos with ZooKeeper HA selected. Use that combination for new connections, including over the API.
Advanced¶
A collapsed group at the end of Connection Properties, below Authentication. It also belongs to the connection.
| Field | Required | Type | Description |
|---|---|---|---|
| Max Parallelization | Number | Caps how many queries Qualytics runs at the same time against a datastore reached through this connection, from 1 to 100. Leave it empty for no explicit limit. The cap applies per datastore, so datastores sharing this connection each get their own allowance. See Max Parallelization. |
Location¶
Pick the schema or schemas Qualytics should read from. You fill these in on both flows.
| Field | Required | Type | Description |
|---|---|---|---|
| Schema | Option | One or more Hive schemas to read from. Each schema you pick becomes its own Qualytics datastore. Defaults to default, and you can click the refresh icon to load the ones visible to the user. |
No catalog step
Hive has no separate catalog selection, so you pick the schema directly. Selecting more than one creates one source datastore per schema, named from the Name Template. See Multiple-Schema Creation for details.
System schema
Hive's system schema is left out of discovery, so it does not appear in the list.
General¶
Common fields for every source datastore, shown below the Location section. You fill these in on both flows.
| Field | Required | Type | Description |
|---|---|---|---|
| Name | Text | The name of the new source datastore (e.g., analytics_bronze). Shown unless you select more than one schema; then Name Template replaces it. |
|
| Name Template | Text | Shown instead of Name when you select more than one schema. Defines the naming pattern for each source datastore being created. Use {{schema}} as a placeholder that gets replaced with the actual schema name (e.g., hive_{{schema}} becomes hive_sales). Left empty, the datastore is named from the connection name and the schema. |
|
| Group | Option | Organizes your datastores under a shared group in the navigation tree. Select an existing group or create a new one with the Add New Group toggle. | |
| Teams | Option | Select one or more teams to associate with this source datastore. | |
| Initiate Sync | Checkbox | Automatically sync the datastore to detect containers and fields after creation. |
Below the form, an information banner lists the Public addresses and Private addresses your datastore connections originate from. Allow the ones that match your network setup through your security groups or firewall rules; see Connection for where the addresses come from.
Steps¶
There are two ways to set up the connection: reuse a connection you already saved (Existing Connection) or create a new one from scratch (New Connection). The tabs below walk through each option; pick the one you want to follow. Each field is described in the Field reference above.
Step 1: Navigate to the Datastores page.
Step 2: Click the Add button at the top-right corner and choose Source .
Step 3: The Add Datastore page opens.
Step 4: Select New Connection next to the Search field.
Step 5: Select Hive from the connector grid. Use the search field to filter connectors by name.
Step 6: Enter the Connection Name.
Step 7: Optionally, expand Secrets Management and turn on HashiCorp Vault to retrieve credentials from a secrets manager.
Step 8: Select ZooKeeper HA when the cluster is fronted by a ZooKeeper quorum, then fill in the Host and Port.
Step 9: Choose the Authentication Type and fill in its credential fields.
Step 10: Optionally, select an Execution Engine and, once it is selected, a Job Queue.
Step 11: Optionally, expand Advanced to set Max Parallelization.
Step 12: Fill in the Location fields (Schema) and the General fields.
Step 13: Click Test connection. A success message confirms that the connection has been verified.
Info
The Finish and Next buttons stay disabled until the connection test passes on the current values. If the test fails, see Troubleshooting.
Step 14: Click Finish to create the datastore.
Tip
To link a destination so Qualytics can write anomalies and metadata from the first operation, click Next instead of Finish. It has to live on a connector other than Hive; see Link Enrichment on Datastore Creation.
Step 15: A success dialog confirms that your datastore has been added. Click Go to your datastore to open its page.
Step 1: Navigate to the Datastores page.
Step 2: Click the Add button at the top-right corner and choose Source .
Step 3: The Add Datastore page opens.
Step 4: Select Existing Connection next to the Search field.
Step 5: Select the saved Hive connection from the grid. Use the search field to filter connections by name. The Connection Properties section and its groups come already filled in and read-only.
Start a new connection from this one
To use the selected connection as a starting point for a brand-new connection instead, click the Duplicate as a new connection button on the selected connection. The form switches to New Connection mode with the connection's settings already filled in for you to adjust.
Step 6: Fill in the Location fields (Schema) and the General fields. These are the only fields left to fill in.
Step 7: Click Test connection. A success message confirms that the connection has been verified.
Info
The Finish and Next buttons stay disabled until the connection test passes on the current values. If the test fails, see Troubleshooting.
Step 8: Click Finish to create the datastore.
Tip
To link a destination so Qualytics can write anomalies and metadata from the first operation, click Next instead of Finish. It has to live on a connector other than Hive; see Link Enrichment on Datastore Creation.
Step 9: A success dialog confirms that your datastore has been added. Click Go to your datastore to open its page.