liveBook · Manning

Hive

As explained in Architecting an Apache Iceberg Lakehouse

Apache Hive is a data warehouse infrastructure that provides SQL-based querying and table management over distributed data stored in file systems or object stores.

Apache Hive provides a SQL layer and table abstraction over distributed files, helping teams query Hadoop data lakes without treating raw files as relational tables. section 1.4 section 2.2

Hive translated SQL into multiple MapReduce stages, often writing intermediate results to disk. This made large batch workloads possible but imposed high latency, resource consumption, and tuning demands. section 1.4

Hive’s table abstraction improves file-based access but leaves important lakehouse limitations:

  • The Hive Metastore tracks schemas, partitions, and locations, but metadata operations become fragile at very large partition counts. section 1.5
  • Schemas remain tightly coupled to physical files, making column renames, removals, and safe evolution difficult. section 1.5
  • Directory listings and file-footer reads support pruning, but late pruning becomes costly on cloud object stores. section 1.5
  • Limited transactional guarantees allow conflicting writes, partial updates, duplicate records, and inconsistent query results. section 2.2

How Architecting an Apache Iceberg Lakehouse covers it

How deep it goes
Explains execution, metadata, schema, pruning, and consistency limitations, but stops short of implementation commands.
Examples
Uses HDFS, PostgreSQL or MySQL-backed metadata, cloud object stores, and Parquet, ORC, or CSV files.
What it assumes
Assumes familiarity with distributed files, SQL querying, partitions, schemas, and analytical workloads.
What you can do after
Evaluate Hive’s suitability for batch SQL workloads and recognize when table-format limitations require alternatives.
How it connects
Connects Hive with Hadoop, MapReduce, HDFS, Hive Metastore, cloud object stores, and Apache Iceberg.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Architecting an Apache Iceberg Lakehouse. The section links point to the parts of the book it draws on.