Skip to content
/ hive Public
forked from apache/hive

Apache Hive

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE-binary
Notifications You must be signed in to change notification settings

slfan1989/hive

This branch is 10 commits behind apache/hive:master.

Folders and files

NameName
Last commit message
Last commit date
Jan 22, 2025
Jan 22, 2025
Jun 18, 2024
Feb 3, 2025
Apr 24, 2024
Mar 1, 2022
Mar 5, 2024
Jun 25, 2024
Feb 18, 2025
Oct 22, 2024
Mar 5, 2024
Feb 6, 2025
Apr 26, 2022
Aug 16, 2024
Jun 25, 2024
Feb 8, 2025
Dec 5, 2024
Feb 19, 2025
Feb 21, 2025
Aug 23, 2024
Dec 31, 2024
Jun 25, 2024
Apr 30, 2024
Mar 2, 2023
Sep 20, 2024
Dec 5, 2024
Sep 20, 2024
Jan 23, 2025
Sep 20, 2024
Jul 24, 2024
Feb 16, 2025
Feb 18, 2025
Feb 21, 2025
Feb 6, 2025
Mar 5, 2024
Feb 12, 2025
Sep 20, 2024
Aug 25, 2020
Feb 21, 2025
Feb 10, 2025
Sep 17, 2024
Jun 11, 2024
Mar 5, 2024
Mar 5, 2024
Mar 19, 2024
Apr 17, 2012
May 9, 2014
Jun 19, 2024
May 10, 2016
Sep 5, 2024
Apr 24, 2024
Jul 28, 2023
Jun 30, 2023
Apr 24, 2024
Nov 18, 2021
Nov 30, 2020
Feb 12, 2025

Repository files navigation

Apache Hive (TM)

Master Build Status Maven Central

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:

  • Tools to enable easy access to data via SQL, thus enabling data warehousing tasks such as extract/transform/load (ETL), reporting, and data analysis

  • 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 or Apache Tez frameworks.

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 can choose between Apache Hadoop MapReduce or Apache Tez frameworks as their execution backend. Note that MapReduce framework has been deprecated since Hive 2, and Apache Tez is recommended. 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.

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:

http://hive.apache.org/

Getting Started

Requirements

Java

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

Hadoop

  • Hadoop 1.x, 2.x
  • Hadoop 3.x (Hive 3.x)

Upgrading from older versions of Hive

  • Hive 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 directory.

  • 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. [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.

About

Apache Hive

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE-binary

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 85.5%
  • HiveQL 12.2%
  • Python 0.5%
  • Perl 0.4%
  • Shell 0.4%
  • GAP 0.3%
  • Other 0.7%