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
Merge remote branch 'upstream/spark' into spark
Merge remote branch 'origin/spark' into HIVE-8961