Apache Hive is a distributed, fault-tolerant data warehouse system that enables analytics at massive scale, running SQL over data in the Hadoop ecosystem on Apache Tez, with LLAP for sub-second queries and first-class Apache Iceberg support in the 4.x line.
Self-hosted on a Hadoop cluster: HiveServer2 fronts queries over Thrift with JDBC, ODBC, and Beeline; Tez executes them; LLAP keeps daemons warm for low latency; and the metastore sits on a relational database with leader election for HA. Managed variants ship in EMR, Dataproc, and HDInsight.
How Apache Hive answers the questions Query Engines turns on.
| How it works | |
| Engine shape | Distributed cluster on Tez; LLAP for sub-second |
| Catalog required | It is the metastore: HMS on a relational database is the catalog Trino, Spark and Flink all talk to |
| SQL dialect | HiveQL: its own dialect rather than ANSI SQL, and the reason leaving Hadoop is expensive |
| Running it | |
| Concurrent users | Workload management resource plans divide LLAP into query pools, mappings route by user or group, and triggers kill runaway queries |
| Acceleration | LLAP keeps executors warm and caches data; materialized views rewrite queries automatically through Calcite, and the CBO uses column statistics |
| Failure recovery | Tez retries failed tasks and reattempts lost work, so a long batch query survives a worker dying |
| Connections | |
| Non-lake sources | External tables through storage handlers, JDBC (read-only), HBase, Kafka, Druid; no write-back to the JDBC source |
| Table formats | ORC, Parquet, Avro, text and SequenceFile natively; Iceberg embedded since 4.0 with full DML, insert, update, delete, merge |
| Client access | HiveServer2 over Thrift, with JDBC and ODBC drivers and the Beeline shell |
| Access | |
| Access control | Storage-based authorization in the metastore, SQL standard-based GRANT and REVOKE in HiveServer2, column-level policies once Ranger's plugin is added |
vs Apache Hive: Commercial · Managed · Serverless · Subscription · Operational complexity: Low · Interactive · Batch
vs Apache Hive: Self-hosted · Operational complexity: Low · Interactive · Batch · Rust
vs Apache Hive: Free · Subscription · Operational complexity: Medium · Interactive · Batch