Mirror of Apache Hive
Java Python Perl Shell PLpgSQL GAP Other
Latest commit 4812486 Mar 23, 2017 @sahilTakiar sahilTakiar committed with Sergio Pena HIVE-14606: Beeline fails if quoted string ends with \\ (Sahil Takiar…
…, reviewed by Sergio Pena)
Permalink
Failed to load latest commit information.
accumulo-handler HIVE-15727 : Add pre insert work to give storage handler the possibil… Feb 6, 2017
beeline HIVE-14606: Beeline fails if quoted string ends with \\ (Sahil Takiar… Mar 23, 2017
bin HIVE-15407 : add distcp to classpath by default, because hive depends… Mar 11, 2017
binary-package-licenses HIVE-15035 Changes based on Owen's feedback. Nov 29, 2016
checkstyle HIVE-6123 : Implement checkstyle in maven (Lars Francke via Ashutosh … Sep 1, 2014
cli HIVE-16183: Fix potential thread safety issues with static variables … Mar 17, 2017
common HIVE-16260: Remove parallel edges of semijoin with map joins. (Deepak… Mar 23, 2017
conf HIVE-15622 : Remove HWI component from Hive (Wei Zheng, reviewed by A… Jan 20, 2017
contrib HIVE-16131 : Hive building with Hadoop 3 - additional stuff broken re… Mar 8, 2017
data HIVE-15952: Add blobstore integration test for CREATE LIKE (Juan Rodr… Mar 9, 2017
dev-support Revert "HIVE-14835: Improve ptest2 build time (Prasanth Jayachandran … Sep 28, 2016
docs HIVE-12020: Revert log4j2 xml configuration to properties based confi… Dec 2, 2015
druid-handler HIVE-16120 : Use jvm temporary tmp dir by default (Slim Bouguerra via… Mar 15, 2017
findbugs HIVE-3099. add findbugs in build.xml (Ransom Hezhiqiang via egc) Jun 10, 2012
hbase-handler HIVE-15727 : Add pre insert work to give storage handler the possibil… Feb 6, 2017
hcatalog HIVE-15691 Create StrictRegexWriter to work with RegexSerializer for … Mar 22, 2017
hplsql HIVE-15849 Added Apache license header to new test file, which I miss… Mar 16, 2017
itests HIVE-14606: Beeline fails if quoted string ends with \\ (Sahil Takiar… Mar 23, 2017
jdbc-handler HIVE-1555: JDBC Storage Handler (Gunther Hagleitner, reviewed by Jaso… Mar 1, 2017
jdbc HIVE-16107: JDBC: HttpClient should retry one more time on NoHttpResp… Mar 22, 2017
lib HIVE-2761: Remove lib/javaewah-0.3.jar (ecapriolo via hashutosh) Feb 25, 2012
llap-client HIVE-16103: LLAP: Scheduler timeout monitor never stops with slot nod… Mar 9, 2017
llap-common HIVE-15896 : LLAP: improved failures when security is set up incorrec… Feb 14, 2017
llap-ext-client HIVE-15831 : LLAP: Fix a problem of the output of LlapDump (Takanobu … Feb 10, 2017
llap-server HIVE-16180 : LLAP: Native memory leak in EncodedReader (Sergey Sheluk… Mar 21, 2017
llap-tez HIVE-16168. llap log links should use the NM nodeId port instead of w… Mar 15, 2017
metastore HIVE-16246: Support auto gather column stats for columns with trailin… Mar 21, 2017
packaging HIVE-1555: JDBC Storage Handler (Gunther Hagleitner, reviewed by Jaso… Mar 1, 2017
ql HIVE-16208: Vectorization: ProcessingModeHashAggregate::sumBatchSize … Mar 23, 2017
serde HIVE-16166: HS2 may still waste up to 15% of memory on duplicate stri… Mar 21, 2017
service-rpc HIVE-15906 : thrift code regeneration to include new protocol version… Feb 14, 2017
service HIVE-16115: Stop printing progress info from operation logs with beel… Mar 13, 2017
shims HIVE-16183: Fix potential thread safety issues with static variables … Mar 17, 2017
spark-client HIVE-16071: HoS RPCServer misuses the timeout in its RPC handshake (C… Mar 17, 2017
storage-api HIVE-15789: Vectorization: limit reduce vectorization to 32Mb chunks … Mar 22, 2017
testutils HIVE-16183: Fix potential thread safety issues with static variables … Mar 17, 2017
vector-code-gen HIVE-15972: Runtime filtering not vectorizing for decimal/timestamp/c… Feb 20, 2017
.arcconfig HIVE-2588 [jira] Update arcconfig to include commit listener Nov 17, 2011
.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-14373: Add integration tests for hive on S3 (Thomas Poepping and… Oct 13, 2016
.reviewboardrc HIVE-13642: Update GUESS_FIELDS option in .reviewboardrc to support c… May 10, 2016
.travis.yml HIVE-14585: Add travis.yml and update README to show build status (Pr… Aug 24, 2016
LICENSE HIVE-15035 Took unnecessary licenses out of LICENSE file. Added new l… Nov 29, 2016
NOTICE HIVE-15035 Changes based on Owen's feedback. Nov 29, 2016
README.md HIVE-14585: Add travis.yml and update README to show build status (Pr… Aug 24, 2016
RELEASE_NOTES.txt Update NOTICE and RELEASE_NOTES Jun 2, 2016
errata.txt fix errata.txt for HIVE-13335 6dace60 Mar 2, 2017
pom.xml HIVE-15751: Make it possible to run findbugs for itest modules as wel… Mar 9, 2017

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 1.7 or 1.8

  • Hadoop 1.x, 2.x (2.x required for Hive 2.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.