HIVE-7747 - Submitting a query to Spark from HiveServer2 fails [Spark Branch] (Venki Korukanti via Brock)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1619185 13f79535-47bb-0310-9956-ffa450edef68
Merge from trunk - HIVE-7786 - add --SORT_BEFORE_DIFF to union all tez .q.out files (Brock reviewed by Szehon)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1619189 13f79535-47bb-0310-9956-ffa450edef68
HIVE-7767 - hive.optimize.union.remove does not work properly [Spark Branch] (Na Yang via Brock)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1619267 13f79535-47bb-0310-9956-ffa450edef68
HIVE-7819 - CounterStatsAggregator throws a class cast exception

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1619273 13f79535-47bb-0310-9956-ffa450edef68
Merge HIVE-7807 - Refer to umask property using FsPermission.UMASK_LABEL (Venki Korukanti via Brock)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1619493 13f79535-47bb-0310-9956-ffa450edef68
Merged HIVE-7820 - union_null.q is not deterministic (Brock Noland reviewed by Szehon)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1619598 13f79535-47bb-0310-9956-ffa450edef68
HIVE-7815 - Reduce Side Join with single reducer [Spark Branch] (Szehon via Brock)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1619639 13f79535-47bb-0310-9956-ffa450edef68
Merge remote branch 'upstream/spark' into spark
merge upstream