Skip to content
Java HiveQL TSQL Python q Perl Other
Branch: master
Clone or download

Latest commit

miklosgergely HIVE-23508 Do not show parameters column for non-extended desc databa…
…se (Miklos Gergely, reviewed by Zoltan Haindrich)
Latest commit fb7d52e May 19, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
accumulo-handler HIVE-23460: Add qoption to disable qtests (Zoltan Haindrich reviewed … May 17, 2020
beeline HIVE-23407: Prompt Beeline Users To Enable Verbose Logging on Error (… May 14, 2020
bin HIVE-22403: Print ENV Variables In Command Line Help Debug Mode (Davi… Oct 31, 2019
binary-package-licenses HIVE-23258 : Remove BoneCP Connection Pool (David Mollitor via Ashuto… Apr 21, 2020
checkstyle HIVE-22876 Do not enforce package-info.java files by checkstyle (Mikl… Feb 13, 2020
classification HIVE-19659: update master to version 4.0 (Vineet Garg, reviewed by As… May 22, 2018
cli HIVE-22343 : Fix incorrect spelling of 'artifectId' in pom.xml ( ice … May 11, 2020
common HIVE-23433: Add Deny Policy on Target Database After Ranger Replicati… May 21, 2020
conf HIVE-15622 : Remove HWI component from Hive (Wei Zheng, reviewed by A… Jan 20, 2017
contrib HIVE-22343 : Fix incorrect spelling of 'artifectId' in pom.xml ( ice … May 11, 2020
core/src/test/java/org/apache/hive/hcatalog HIVE-18586: Upgrade Derby to 10.14.1.0 (Janaki Lahorani, reviewed by … Feb 13, 2018
data HIVE-23501 : AOOB in VectorDeserializeRow when complex types are conv… May 21, 2020
dev-support HIVE-21604: preCommit job should not be triggered on non-patch attach… Sep 11, 2019
docs/images HIVE-14671 : merge master into hive-14535 (Wei Zheng) May 5, 2017
druid-handler HIVE-22343 : Fix incorrect spelling of 'artifectId' in pom.xml ( ice … May 11, 2020
findbugs HIVE-22199 Ugrade findbugs to 3.0.5 (Miklos Gergely reviewed by Jesus… Sep 14, 2019
hbase-handler HIVE-22343 : Fix incorrect spelling of 'artifectId' in pom.xml ( ice … May 11, 2020
hcatalog HIVE-22343 : Fix incorrect spelling of 'artifectId' in pom.xml ( ice … May 11, 2020
hplsql HIVE-23268 : Eliminate beanutils transitive dependency Apr 26, 2020
itests HIVE-22971: Eliminate file rename in insert-only compactor (Karen Cop… May 21, 2020
jdbc-handler HIVE-23350 : Upgrade DBCP To DBCP 2.7.0 (David Mollitor via Ashutosh … May 9, 2020
jdbc HIVE-22343 : Fix incorrect spelling of 'artifectId' in pom.xml ( ice … May 11, 2020
kafka-handler HIVE-23344: Bump scala version to 2.12.4, spark to 2.4.5 (Karen Coppa… May 13, 2020
kryo-registrator HIVE-23268 : Eliminate beanutils transitive dependency Apr 26, 2020
kudu-handler HIVE-22491 : Use Collections emptyList (David Mollitor via Ashutosh C… May 10, 2020
lib HIVE-2761: Remove lib/javaewah-0.3.jar (ecapriolo via hashutosh) Feb 25, 2012
llap-client HIVE-23268 : Eliminate beanutils transitive dependency Apr 26, 2020
llap-common HIVE-23268 : Eliminate beanutils transitive dependency Apr 26, 2020
llap-ext-client HIVE-23268 : Eliminate beanutils transitive dependency Apr 26, 2020
llap-server HIVE-23476 : LLAP: Preallocate arenas for mmap case as well (Prasanth… May 17, 2020
llap-tez HIVE-23429 : LLAP: Optimize retrieving queryId details in LlapTaskCom… May 11, 2020
metastore HIVE-22343 : Fix incorrect spelling of 'artifectId' in pom.xml ( ice … May 11, 2020
packaging HIVE-22343 : Fix incorrect spelling of 'artifectId' in pom.xml ( ice … May 11, 2020
parser HIVE-22458: Add more constraints on showing partitions (Zhihua Deng, … May 20, 2020
ql HIVE-23508 Do not show parameters column for non-extended desc databa… May 21, 2020
serde HIVE-23292 : Reduce PartitionDesc payload in MapWork (Rajesh Balamoha… May 17, 2020
service-rpc HIVE-20544: TOpenSessionReq logs password and username (Karen Coppage… Oct 4, 2018
service HIVE-23396: Many fixes and improvements to stabilize tests (Zoltan Ha… May 17, 2020
shims HIVE-22343 : Fix incorrect spelling of 'artifectId' in pom.xml ( ice … May 11, 2020
spark-client HIVE-23278 : Remove dependency on bouncycastle Apr 26, 2020
standalone-metastore HIVE-22458: Add more constraints on showing partitions (Zhihua Deng, … May 20, 2020
storage-api HIVE-23215 : Make FilterContext and MutableFilterContext interfaces (… May 3, 2020
streaming HIVE-22343 : Fix incorrect spelling of 'artifectId' in pom.xml ( ice … May 11, 2020
testutils HIVE-23338: Bump jackson version to 2.10.0 (Karen Coppage via Peter V… May 13, 2020
udf HIVE-22795: Create new parser and udf module from ql (Jesus Camacho R… Feb 3, 2020
upgrade-acid HIVE-22343 : Fix incorrect spelling of 'artifectId' in pom.xml ( ice … May 11, 2020
vector-code-gen HIVE-23133: Numeric operations can have different result across hardw… May 14, 2020
.arcconfig HIVE-2588 [jira] Update arcconfig to include commit listener Nov 17, 2011
.asf.yaml HIVE-23310: Add .asf.yaml Apr 30, 2020
.checkstyle HIVE-2930 [jira] Add license to the Hive files Apr 17, 2012
.gitattributes HIVE-7023 : Bucket mapjoin is broken when the number of small aliases… May 9, 2014
.gitignore HIVE-21218: add support topics created via Confluent Avro serializer … Mar 12, 2020
.reviewboardrc HIVE-13642: Update GUESS_FIELDS option in .reviewboardrc to support c… May 10, 2016
.travis.yml HIVE-19080: Fix travis build (addendum) Mar 29, 2018
LICENSE HIVE-19661 : switch Hive UDFs to use Re2J regex engine (Rajkumar Sing… Jun 19, 2019
NOTICE HIVE-19134: Update copyright NOTICE and fix rat check failures (Vinee… Apr 9, 2018
README.md HIVE-23414: Detail Hive Java Compatibility (David Mollitor, reviewed … May 11, 2020
RELEASE_NOTES.txt Updated Release notes for 3.1.0 Jul 18, 2018
errata.txt HIVE-22345: HIVE-21327 commit message is wrong Oct 15, 2019
pom.xml HIVE-23314: Upgrade to Kudu 1.12 (Zoltan Haindrich reviewed by Miklos… May 17, 2020

README.md

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, Apache Tez or Apache Spark 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 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:

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. user@hive.apache.org - To discuss and ask usage questions. Send an empty email to user-subscribe@hive.apache.org in order to subscribe to this mailing list.

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

  3. commits@hive.apache.org - In order to monitor commits to the source repository. Send an empty email to commits-subscribe@hive.apache.org in order to subscribe to this mailing list.

You can’t perform that action at this time.