Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Mirror of Apache Hive
Java C++ Python PHP Ruby Perl Other
branch: master
Failed to load latest commit information.
accumulo-handler HIVE-10514 : Fix MiniCliDriver tests failure (Hari Subramaniyan, revi…
ant HIVE-10664 : Unit tests run fail in windows because of illegal escape…
beeline HIVE-10659 : Beeline command which contains semi-colon as a non-comma…
bin HIVE-10592: ORC file dump in JSON format (Prasanth Jayachandran revie…
checkstyle HIVE-6123 : Implement checkstyle in maven (Lars Francke via Ashutosh …
cli HIVE-10277: Unable to process Comment line '--' in HIVE-1.1.0 (Chinna…
common HIVE-10651: ORC file footer cache should be bounded (Prasanth Jayacha…
conf HIVE-9664. Hive 'add jar' command should be able to download and add …
contrib Preparing for 1.3.0 development
data HIVE-10629 Dropping table in an encrypted zone does not drop warehous…
dev-support HIVE-10583 : Switch precommit from ASF to Github repo to avoid clone …
docs HIVE-2930 [jira] Add license to the Hive files
findbugs HIVE-3099. add findbugs in build.xml (Ransom Hezhiqiang via egc)
hbase-handler HIVE-8769 : Physical optimizer : Incorrect CE results in a shuffle jo…
hcatalog HIVE-10724 - WebHCat e2e test TestStreaming_5 fails on Windows (Deepe…
hwi Preparing for 1.3.0 development
itests HIVE-10789: union distinct query with NULL constant on both the sides…
jdbc HIVE-10732: Hive JDBC driver does not close operation for metadata qu…
lib HIVE-2761: Remove lib/javaewah-0.3.jar (ecapriolo via hashutosh)
metastore HIVE-10629 Dropping table in an encrypted zone does not drop warehous…
odbc Preparing for 1.3.0 development
packaging HIVE-10605 - Make hive version number update automatically in webhcat…
ql HIVE-10805: OOM in vectorized reduce (Matt McCline reviewed by Gopal V)
serde HIVE-10715 : RAT failures - many files do not have ASF licenses (Sush…
service HIVE-8529: HiveSessionImpl#fetchResults should not try to fetch opera…
shims HIVE-10629 Dropping table in an encrypted zone does not drop warehous…
spark-client Preparing for 1.3.0 development
testutils HIVE-10669: The HMS upgrade test is not testing postgres nor derby up…
.arcconfig HIVE-2588 [jira] Update arcconfig to include commit listener
.checkstyle HIVE-2930 [jira] Add license to the Hive files
.gitattributes HIVE-7023 : Bucket mapjoin is broken when the number of small aliases…
.gitignore HIVE-7286: Parameterize HCatMapReduceTest for testing against all Hiv…
.reviewboardrc Preparing for 1.3.0 development
LICENSE HIVE-9302: Beeline add commands to register local jdbc driver names a…
NOTICE HIVE-9327. Move Microsoft copyright notice from the source code to th…
README.txt HIVE-10676 : Update Hive's README to mention spark, and to remove jdk…
RELEASE_NOTES.txt Updating RELEASE_NOTES after 1.2.0 release
pom.xml HIVE-10709 Update Avro version to 1.7.7 (Swarnim Kulkarni, reviewed b…


Apache Hive (TM) @VERSION@

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

* Tools to enable easy data extract/transform/load (ETL)

* A mechanism to impose structure on a variety of data formats

* Access to files stored either directly in Apache HDFS (TM) or in other
  data storage systems such as Apache HBase (TM)

* Query execution using Apache Hadoop MapReduce, Apache Tez
  or Apache Spark frameworks.

Hive implements a dialect of SQL (Hive QL) that focuses on analytics
and presents a rich set of SQL semantics including OLAP functions,
subqueries, common table expressions and more. Hive allows SQL
developers or users with SQL tools to easily query, analyze and
process data stored in Hadoop.
Hive also allows programmers familiar with the MapReduce framework
to plug in their custom mappers and reducers to perform more
sophisticated analysis that may not be supported by the built-in
capabilities of the language. QL can also be extended with custom
scalar functions (UDF's), aggregations (UDAF's), and table
functions (UDTF's).

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 and does
not support row level insert/updates. It is best used for batch
jobs over large sets of immutable data (like web logs). What
Hive values most are scalability (scale out with more machines
added dynamically to the Hadoop cluster), extensibility (with
MapReduce framework and UDF/UDAF/UDTF), fault-tolerance, and
loose-coupling with its input formats.

General Info

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

Getting Started

- Installation Instructions and a quick tutorial:

- A longer tutorial that covers more features of HiveQL:

- The HiveQL Language Manual:


- Java 1.7

- Hadoop 1.x, 2.x

Upgrading from older versions of Hive

- Hive @VERSION@ includes changes to the MetaStore schema. If
  you are upgrading from an earlier version of Hive it is imperative
  that you upgrade the MetaStore schema by running the appropriate
  schema upgrade scripts located in the scripts/metastore/upgrade

- We have provided upgrade scripts for MySQL, PostgreSQL, Oracle,
  Microsoft SQL Server, and Derby databases. If you are using a
  different database for your MetaStore you will need to provide
  your own upgrade script.

Useful mailing lists

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

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

3. - In order to monitor commits to the source
   repository. Send an empty email to
   in order to subscribe to this mailing list.
Something went wrong with that request. Please try again.