Skip to content

Hive Hive Connector

Apache Hive is a data warehouse layer on Hadoop. Its metastore describes tables stored on a cluster, and HiveServer2 answers HiveQL queries over them.

The Qualytics Hive connector reads through the Hive JDBC driver, running its queries on HiveServer2. It discovers databases and tables in the Hive metastore, uses partition columns from the metastore to read large tables efficiently, and lets Qualytics profile tables, run scheduled scans, and surface record- and schema-level anomalies on the data already in your cluster.

Two ways to connect to Hive

This page covers the Hive connector, which reads your data by running queries through HiveServer2. Qualytics also offers Hive Native, which reads file-based tables such as Parquet, ORC, delimited text, JSON, and Avro straight from their files and is considerably faster on large tables. Use this connector for anything Hive Native declines to read, such as views and transactional tables, and see Choosing between the two Hive connectors for a side-by-side comparison. Both can be connected against the same cluster.

Source only

Qualytics cannot write to Hive, so a Hive datastore cannot be an enrichment datastore. Link a datastore on another connector as its destination; see Supported Connectors.


Notes

Job queue and execution engine. Execution Engine starts empty, which keeps the cluster's default engine. To run Qualytics' queries in a specific YARN queue, select TEZ or MR as the Execution Engine in the connection form, then set Job Queue, which appears once an engine is selected. The Qualytics user needs permission to submit to that queue.

Ranger policies. Ranger Hive policies, such as column masking and row filtering, are applied by HiveServer2, so they also apply to what Qualytics reads.


Deep Dive

  • Authentication


    Choose between Basic and Kerberos, and connect through ZooKeeper for HiveServer2 high availability.

    Authentication

  • Network Access


    The services and ports your Qualytics deployment must reach: HiveServer2, and the KDC or ZooKeeper when used.

    Network Access

  • Permissions


    The Hive privileges Qualytics needs to read your databases, with example GRANT statements.

    Permissions


How-tos

  • Add Source Datastore


    Step-by-step UI walkthrough for adding Hive as a source datastore, with new or existing connections.

    Add Source Datastore

  • Create via API


    REST and CLI payload examples for creating Hive source datastores, with Basic and Kerberos authentication.

    Create via API


Reference

  • Troubleshooting


    Common Hive connection errors and how to resolve them: credentials, Kerberos, privileges, or connectivity.

    Troubleshooting