Apache Hive (TM)

Apache Hive
Under Apache License 2.0
By apache

apache java database sql hive hadoop big-data

Apache Hive (TM)

The Apache Hive (TM) data warehouse software facilitates reading,
writing, and managing large datasets residing in distributed storage
using SQL. Built on top of Apache Hadoop (TM), it provides:

Hive provides standard SQL functionality, including many of the later
2003 and 2011 features for analytics. These include OLAP functions,
subqueries, common table expressions, and more. Hive's SQL can also be
extended with user code via user defined functions (UDFs), user defined
aggregates (UDAFs), and user defined table functions (UDTFs).

Hive users have a choice of 3 runtimes when executing SQL queries.
Users can choose between Apache Hadoop MapReduce, Apache Tez or
Apache Spark frameworks as their execution backend. MapReduce is a
mature framework that is proven at large scales. However, MapReduce
is a purely batch framework, and queries using it may experience
higher latencies (tens of seconds), even over small datasets. Apache
Tez is designed for interactive query, and has substantially reduced
overheads versus MapReduce. Apache Spark is a cluster computing
framework that's built outside of MapReduce, but on top of HDFS,
with a notion of composable and transformable distributed collection
of items called Resilient Distributed Dataset (RDD) which allows
processing and analysis without traditional intermediate stages that
MapReduce introduces.

Users are free to switch back and forth between these frameworks
at any time. In each case, Hive is best suited for use cases
where the amount of data processed is large enough to require a
distributed system.

Hive is not designed for online transaction processing. It is best used
for traditional data warehousing tasks. Hive is designed to maximize
scalability (scale out with more machines added dynamically to the Hadoop
cluster), performance, extensibility, fault-tolerance, and
loose-coupling with its input formats.

General Info

For the latest information about Hive, please visit out website at:


Getting Started


| Hive Version | Java Version |
| ------------- |:-------------:|
| Hive 1.0 | Java 6 |
| Hive 1.1 | Java 6 |
| Hive 1.2 | Java 7 |
| Hive 2.x | Java 7 |
| Hive 3.x | Java 8 |
| Hive 4.x | Java 8 |


Upgrading from older versions of Hive

Useful mailing lists

  1. [email protected] - To discuss and ask usage questions. Send an
    empty email to [email protected] in order to subscribe
    to this mailing list.

  2. [email protected] - For discussions about code, design and features.
    Send an empty email to [email protected] in order to
    subscribe to this mailing list.

  3. [email protected] - In order to monitor commits to the source
    repository. Send an empty email to [email protected]
    in order to subscribe to this mailing list.