HIVE-5930 : SQL std auth - implement set roles, show current roles (Ashutosh Chauhan via Thejas Nair)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1566029 13f79535-47bb-0310-9956-ffa450edef68
HIVE-5783: Native Parquet Support in Hive (Justin via Xuefu)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1566173 13f79535-47bb-0310-9956-ffa450edef68
HIVE-5953 : SQL std auth - authorize grant/revoke on table/views (Thejas Nair reviwed by Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1566401 13f79535-47bb-0310-9956-ffa450edef68
HIVE-6385: UDF degrees() doesn't take decimal as input (reviewed by Jason)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1566704 13f79535-47bb-0310-9956-ffa450edef68
HIVE-2365 WIP create hfiles from table defined using HBaseStorageHandler

This patch introduces a new configuration flag hive.hbase.bulkload. When this
flag is enabled, the Storage Handler will use HiveHFileOutputFormat for writing
new records. The property hfile.family.path must be specified either as a table
property (as is required when using HiveHFileOuputFormat directly) or via job
configuration.

Note that all existing limitations for HFile generation from Hive remain,
notably:
 - only a single column family is supported
 - records must arrive at the RecordWriter in a sorted order that is compatible
   with HFileWriter requirements

For example:

CREATE TABLE pgc_hbase (rowkey STRING, pageviews STRING, bytes STRING)
STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
WITH SERDEPROPERTIES ('hbase.columns.mapping' = ':key,f:pageviews,f:bytes')
TBLPROPERTIES ('hbase.table.name' = 'pagecounts');

SET hive.hbase.bulkload = true;
SET hfile.family.path = /tmp/hbase_online_hfiles/f;
INSERT OVERWRITE TABLE pgc_hbase SELECT * FROM pgc CLUSTER BY rowkey;"
HIVE-2365 WIP Piggback completeBulkLoad as a MoveTask
HIVE-2365 WIP add explain plan test