<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://openlakehouse.io/w/index.php?action=history&amp;feed=atom&amp;title=Apache_Hive</id>
	<title>Apache Hive - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://openlakehouse.io/w/index.php?action=history&amp;feed=atom&amp;title=Apache_Hive"/>
	<link rel="alternate" type="text/html" href="https://openlakehouse.io/w/index.php?title=Apache_Hive&amp;action=history"/>
	<updated>2026-12-06T00:08:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://openlakehouse.io/w/index.php?title=Apache_Hive&amp;diff=90&amp;oldid=prev</id>
		<title>Open Lakehouse Wiki sync: Sync from open-lakehouse/wiki@f2492a3</title>
		<link rel="alternate" type="text/html" href="https://openlakehouse.io/w/index.php?title=Apache_Hive&amp;diff=90&amp;oldid=prev"/>
		<updated>2026-11-23T00:34:50Z</updated>

		<summary type="html">&lt;p&gt;Sync from open-lakehouse/wiki@f2492a3&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Infobox software&lt;br /&gt;
| name                = Apache Hive&lt;br /&gt;
| developer           = [[Apache Software Foundation]]; created at Facebook&lt;br /&gt;
| initial_release     = Apache top-level project since September 2010&lt;br /&gt;
| latest_release      = 4.2.1&lt;br /&gt;
| latest_release_date = 2026-08-24&lt;br /&gt;
| written_in          = Java&lt;br /&gt;
| type                = SQL data warehouse system and metastore&lt;br /&gt;
| license             = Apache License 2.0&lt;br /&gt;
| website             = [https://hive.apache.org/ hive.apache.org]&lt;br /&gt;
| repo                = [https://github.com/apache/hive github.com/apache/hive]&lt;br /&gt;
| related             = [[Hive Metastore]], [[Hive on Spark]], [[Apache Spark]], [[Trino]], [[Apache Iceberg]]&lt;br /&gt;
}}&lt;br /&gt;
{{Verified|2026-11-22|the Apache Hive home and downloads pages (releases and end-of-life notices to 4.2.1), HiveConf.java and the top-level modules at the rel/release-3.1.3, rel/release-4.0.0-alpha-1, rel/release-4.0.0-alpha-2, rel/release-4.0.0, rel/release-4.0.1, rel/release-4.1.0 and rel/release-4.2.1 tags, HIVE-12300, HIVE-26134, HIVE-27972, the ASF committee information and the 2009 VLDB paper on Hive}}&lt;br /&gt;
{{Status|active |note=The Hive 1.x, 2.x and 3.x release lines are end of life (declared in 2024); the 4.x line is maintained. Hive 4 removed the Spark execution engine, and the MapReduce engine has been deprecated since Hive 2. |ref=&amp;lt;ref name=&amp;quot;downloads&amp;quot;&amp;gt;{{Cite web |url=https://hive.apache.org/general/downloads/ |title=Downloads (Apache Hive news and releases) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Apache Hive&amp;#039;&amp;#039;&amp;#039; is a distributed SQL data warehouse system that runs queries over files in distributed storage, together with the [[Hive Metastore]], a service that stores table metadata for Hive and for other engines.&amp;lt;ref name=&amp;quot;home&amp;quot;&amp;gt;{{Cite web |url=https://hive.apache.org/ |title=Apache Hive |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; Hive was built at Facebook to give Hadoop users a SQL-like language instead of hand-written MapReduce programs.&amp;lt;ref name=&amp;quot;paper&amp;quot;&amp;gt;{{Cite web |url=https://www.vldb.org/pvldb/vol2/vldb09-938.pdf |title=Hive: A Warehousing Solution Over a Map-Reduce Framework |publisher=Proceedings of the VLDB Endowment, vol. 2 |date=2009 |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; Today the two halves of the project have different roles in an [[open lakehouse]]: the metastore is still a widely used [[data catalog]], while the query engine competes with engines such as [[Apache Spark]] and [[Trino]].&lt;br /&gt;
&lt;br /&gt;
== Query engine and metastore ==&lt;br /&gt;
The name &amp;quot;Hive&amp;quot; covers two things that are often confused.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! !! Hive query engine (HiveServer2) !! Hive Metastore (HMS)&lt;br /&gt;
|-&lt;br /&gt;
! What it does&lt;br /&gt;
| Compiles HiveQL into jobs and runs them; HiveServer2 serves JDBC and ODBC clients&amp;lt;ref name=&amp;quot;home&amp;quot; /&amp;gt;&lt;br /&gt;
| Stores databases, tables, partitions and their locations, and serves them over a Thrift API&amp;lt;ref name=&amp;quot;home&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Who uses it&lt;br /&gt;
| Hive users and BI tools that connect to HiveServer2&lt;br /&gt;
| Hive, Impala, Spark and other engines&amp;lt;ref name=&amp;quot;home&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Runs on&lt;br /&gt;
| Apache Tez (default in Hive 4.1 and later) or the deprecated MapReduce engine&amp;lt;ref name=&amp;quot;conf421&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/hive/blob/rel/release-4.2.1/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java |title=HiveConf.java (rel/release-4.2.1) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| A standalone service backed by a relational database&lt;br /&gt;
|-&lt;br /&gt;
! Lakehouse role&lt;br /&gt;
| One SQL engine among several&lt;br /&gt;
| A shared catalog, and since 4.1.0 also an Iceberg REST catalog endpoint&amp;lt;ref name=&amp;quot;downloads&amp;quot; /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A system that &amp;quot;uses Hive&amp;quot; may use only the metastore. [[Apache Spark]] and [[Trino]] read and write tables registered in the Hive Metastore without running any Hive queries; see [[Hive Metastore]] for how each engine connects.&lt;br /&gt;
&lt;br /&gt;
== Execution engines ==&lt;br /&gt;
Hive compiles queries for one of several execution engines, selected with &amp;lt;code&amp;gt;hive.execution.engine&amp;lt;/code&amp;gt;. The available engines and the default have changed across releases, as the configuration source at each release tag shows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Release !! Engines !! Default&lt;br /&gt;
|-&lt;br /&gt;
| 3.1.3 || &amp;lt;code&amp;gt;mr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;tez&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;spark&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;mr&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |url=https://github.com/apache/hive/blob/rel/release-3.1.3/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java |title=HiveConf.java (rel/release-3.1.3) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 4.0.0-alpha-1 || &amp;lt;code&amp;gt;mr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;tez&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;spark&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;mr&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 4.0.0-alpha-2 to 4.0.1 || &amp;lt;code&amp;gt;mr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;tez&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;mr&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;conf400&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/hive/blob/rel/release-4.0.0/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java |title=HiveConf.java (rel/release-4.0.0) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 4.1.0 to 4.2.1 || &amp;lt;code&amp;gt;tez&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mr&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;tez&amp;lt;/code&amp;gt;&amp;lt;ref name=&amp;quot;conf421&amp;quot; /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MapReduce&amp;#039;&amp;#039;&amp;#039; was deprecated in Hive 2.0.0 (HIVE-12300).&amp;lt;ref&amp;gt;{{Cite web |url=https://issues.apache.org/jira/browse/HIVE-12300 |title=HIVE-12300: deprecate MR in Hive 2.0 |publisher=Apache Software Foundation JIRA |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; It is still selectable in Hive 4.2.1, where the configuration describes it as a historical engine that &amp;quot;may be removed without further warning&amp;quot;.&amp;lt;ref name=&amp;quot;conf421&amp;quot; /&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Spark&amp;#039;&amp;#039;&amp;#039; (Hive on Spark) was removed from the main branch by HIVE-26134 in 2022; the &amp;lt;code&amp;gt;spark-client&amp;lt;/code&amp;gt; module is present at the 4.0.0-alpha-1 tag and absent from 4.0.0-alpha-2 onward.&amp;lt;ref&amp;gt;{{Cite web |url=https://issues.apache.org/jira/browse/HIVE-26134 |title=HIVE-26134: Remove Hive on Spark from the main branch |publisher=Apache Software Foundation JIRA |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; See [[Hive on Spark]].&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Tez&amp;#039;&amp;#039;&amp;#039; became the default in Hive 4.1.0 (HIVE-27972).&amp;lt;ref&amp;gt;{{Cite web |url=https://issues.apache.org/jira/browse/HIVE-27972 |title=HIVE-27972: Set &amp;#039;tez&amp;#039; as default value in hive.execution.engine |publisher=Apache Software Foundation JIRA |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; LLAP (Low Latency Analytical Processing) adds persistent daemons and caching on top of Tez for interactive queries.&amp;lt;ref name=&amp;quot;home&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
The Hive project lists, among its main features, full ACID transactions for ORC tables and insert-only transactions for other formats, built-in compaction, a cost-based optimizer based on Apache Calcite, replication, and Kerberos authentication with Apache Ranger for authorization.&amp;lt;ref name=&amp;quot;home&amp;quot; /&amp;gt; Hive reads and writes [[Apache Iceberg]] tables through a storage handler; the &amp;lt;code&amp;gt;iceberg&amp;lt;/code&amp;gt; module is part of the source tree from the 4.0.0-alpha-1 tag onward.&amp;lt;ref name=&amp;quot;home&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |url=https://github.com/apache/hive/tree/rel/release-4.0.0 |title=apache/hive at rel/release-4.0.0 |publisher=GitHub |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Releases and end of life ==&lt;br /&gt;
The Hive 4 line is the only maintained line. The project&amp;#039;s news page records these milestones:&amp;lt;ref name=&amp;quot;downloads&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 4.0.0, the first final Hive 4 release, on 29 March 2024.&lt;br /&gt;
* End of life of the 1.x line (April 2024), the 2.x line (May 2024) and the 3.x line (October 2024). The 3.x notice says no further updates or releases are planned.&lt;br /&gt;
* 4.1.0 on 31 July 2025, which added JDK 17 support, the standalone metastore packages and a REST catalog server.&lt;br /&gt;
* 4.2.0 on 23 November 2025, which made JDK 21 the minimum Java version.&lt;br /&gt;
* 4.2.1 on 24 August 2026, a bug-fix release with security fixes in the metastore, HiveServer2 and the Avro SerDe.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
A Facebook team described Hive in a 2009 VLDB paper as an open source data warehouse on Hadoop whose SQL-like language, HiveQL, was compiled into MapReduce jobs.&amp;lt;ref name=&amp;quot;paper&amp;quot; /&amp;gt; Hive became a top-level Apache project in September 2010.&amp;lt;ref&amp;gt;{{Cite web |url=https://whimsy.apache.org/public/committee-info.json |title=ASF committee information (public) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; HCatalog, a table and storage management layer for Hadoop, merged into Hive in March 2013.&amp;lt;ref name=&amp;quot;downloads&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Hive Metastore]]&lt;br /&gt;
* [[Hive on Spark]]&lt;br /&gt;
* [[Apache Spark]]&lt;br /&gt;
* [[Trino]]&lt;br /&gt;
* [[Apache Iceberg]]&lt;br /&gt;
* [[Data catalog]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Navbox open lakehouse}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Query engines]]&lt;/div&gt;</summary>
		<author><name>Open Lakehouse Wiki sync</name></author>
	</entry>
</feed>