Apache Hive v2.1.0 发布下载,Hive是一个基于Hadoop的开源数据仓库,用于存储和处理海量结构化数据。它是Facebook 2008年8月开源的一个数据仓库框架,提供了类似于SQL语法的HQL语句作为数据访问接口,Hive有如下优缺点:
优点:
- Hive 使用类SQL 查询语法, 最大限度的实现了和SQL标准的兼容,大大降低了传统数据分析人员学习的曲线;
- 使用JDBC 接口/ODBC接口,开发人员更易开发应用;
- 以MR 作为计算引擎、HDFS 作为存储系统,为超大数据集设计的计算/ 扩展能力;
- 统一的元数据管理(Derby、MySql等),并可与Pig 、Presto 等共享;
缺点:
- Hive 的HQL 表达的能力有限,有些复杂运算用HQL 不易表达;
- 由于Hive自动生成MapReduce 作业, HQL 调优困难;
- 粒度较粗,可控性差

Hive运行架构
更新日志
- [HIVE-9774] - Print yarn application id to console [Spark Branch]
- [HIVE-10280] - LLAP: Handle errors while sending source state updates to the daemons
- [HIVE-11107] - Support for Performance regression test suite with TPCDS
- [HIVE-11417] - Create shims for the row by row read path that is backed by VectorizedRowBatch
- [HIVE-11526] - LLAP: implement LLAP UI as a separate service - part 1
- [HIVE-11766] - LLAP: Remove MiniLlapCluster from shim layer after hadoop-1 removal
- [HIVE-11927] - Implement/Enable constant related optimization rules in Calcite: enable HiveReduceExpressionsRule to fold constants
- [HIVE-12049] - HiveServer2: Provide an option to write serialized thrift objects in final tasks
Bug修复
- [HIVE-1608] - use sequencefile as the default for storing intermediate results
- [HIVE-4662] - first_value can't have more than one order by column
- [HIVE-8343] - Return value from BlockingQueue.offer() is not checked in DynamicPartitionPruner
- [HIVE-9144] - Beeline + Kerberos shouldn't prompt for unused username + password
- [HIVE-9457] - Fix obsolete parameter name in HiveConf description of hive.hashtable.initialCapacity
- [HIVE-9499] - hive.limit.query.max.table.partition makes queries fail on non-partitioned tables
- [HIVE-9534] - incorrect result set for query that projects a windowed aggregate
- [HIVE-9862] - Vectorized execution corrupts timestamp values
- [HIVE-10171] - Create a storage-api module
- [HIVE-10187] - Avro backed tables don't handle cyclical or recursive records
- [HIVE-10632] - Make sure TXN_COMPONENTS gets cleaned up if table is dropped before compaction.
- [HIVE-10729] - Query failed when select complex columns from joinned table (tez map join only)
- [HIVE-11097] - HiveInputFormat uses String.startsWith to compare splitPath and PathToAliases
- [HIVE-11388] - Allow ACID Compactor components to run in multiple metastores
- [HIVE-11427] - Location of temporary table for CREATE TABLE SELECT broken by HIVE-7079
- [HIVE-11484] - Fix ObjectInspector for Char and VarChar
- [HIVE-11550] - ACID queries pollute HiveConf
- [HIVE-11675] - make use of file footer PPD API in ETL strategy or separate strategy
- [HIVE-11716] - Reading ACID table from non-acid session should raise an error
- [HIVE-11806] - Create test for HIVE-11174
功能改进
- [HIVE-4570] - More information to user on GetOperationStatus in Hive Server2 when query is still executing
- [HIVE-4924] - JDBC: Support query timeout for jdbc
- [HIVE-5370] - format_number udf should take user specifed format as argument
- [HIVE-6535] - JDBC: provide an async API to execute query and fetch results
- [HIVE-10115] - HS2 running on a Kerberized cluster should offer Kerberos(GSSAPI) and Delegation token(DIGEST) when alternate authentication is enabled
- [HIVE-10249] - ACID: show locks should show who the lock is waiting for
- [HIVE-10468] - Create scripts to do metastore upgrade tests on jenkins for Oracle DB.
- [HIVE-10982] - Customizable the value of java.sql.statement.setFetchSize in Hive JDBC Driver
- [HIVE-11424] - Rule to transform OR clauses into IN clauses in CBO
- [HIVE-11483] - Add encoding and decoding for query string config
- [HIVE-11487] - Add getNumPartitionsByFilter api in metastore api
- [HIVE-11752] - Pre-materializing complex CTE queries
- [HIVE-11793] - SHOW LOCKS with DbTxnManager ignores filter options
- [HIVE-11956] - SHOW LOCKS should indicate what acquired the lock
- [HIVE-12431] - Support timeout for compile lock
- [HIVE-12439] - CompactionTxnHandler.markCleaned() and TxnHandler.openTxns() misc improvements
- [HIVE-12467] - Add number of dynamic partitions to error message
- [HIVE-12481] - Occasionally "Request is a replay" will be thrown from HS2
- [HIVE-12515] - Clean the SparkCounters related code after remove counter based stats collection[Spark Branch]
- [HIVE-12541] - SymbolicTextInputFormat should supports the path with regex
- [HIVE-12545] - Add sessionId and queryId logging support for methods like getCatalogs in HiveSessionImpl class
- [HIVE-12595] - [REFACTOR] Make physical compiler more type safe
新功能
- [HIVE-12270] - Add DBTokenStore support to HS2 delegation token
- [HIVE-12634] - Add command to kill an ACID transaction
- [HIVE-12730] - MetadataUpdater: provide a mechanism to edit the basic statistics of a table (or a partition)
- [HIVE-12878] - Support Vectorization for TEXTFILE and other formats
- [HIVE-12994] - Implement support for NULLS FIRST/NULLS LAST
- [HIVE-13029] - NVDIMM support for LLAP Cache
- [HIVE-13095] - Support view column authorization
- [HIVE-13125] - Support masking and filtering of rows/columns
- [HIVE-13307] - LLAP: Slider package should contain permanent functions
- [HIVE-13418] - HiveServer2 HTTP mode should support X-Forwarded-Host header for authorization/audits
- [HIVE-13475] - Allow aggregate functions in over clause
- [HIVE-13736] - View's input/output formats are TEXT by default
更多日志见:ReleaseNote
下载
Hive编程指南 PDF 中文高清版 http://www.linuxidc.com/Linux/2015-01/111837.htm
基于Hadoop集群的Hive安装 http://www.linuxidc.com/Linux/2013-07/87952.htm
Hive内表和外表的区别 http://www.linuxidc.com/Linux/2013-07/87313.htm
Hadoop + Hive + Map +reduce 集群安装部署 http://www.linuxidc.com/Linux/2013-07/86959.htm
Hive本地独立模式安装 http://www.linuxidc.com/Linux/2013-06/86104.htm
Hive学习之WordCount单词统计 http://www.linuxidc.com/Linux/2013-04/82874.htm
Hive运行架构及配置部署 http://www.linuxidc.com/Linux/2014-08/105508.htm
Hive 的详细介绍:请点这里
Hive 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2016-06/132533.htm
