HIVE-8951: Spark remote context doesn't work with local-cluster [Spark Branch]

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1641612 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8959: SparkSession is not closed until JVM exit.[Spark Branch] (Chengxiang via Xuefu)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1641613 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8946: Enable Map Join [Spark Branch] (Chao via Xuefu)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1641614 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8788: UT: fix partition test case [Spark Branch] (Chinna via Xuefu)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1641640 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8855 - Automatic calculate reduce number for spark job [Spark Branch] (Jimmy Xiang via Brock)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1641691 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8956 - Hive hangs while some error/exception happens beyond job execution [Spark Branch] (Rui li via Brock)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1641766 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8961: Remove unnecessary dependency collection task [Spark Branch] (Rui via Xuefu)

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