HIVE-8528: Add remote Spark client to Hive [Spark Branch] (Marcelo via Xuefu)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1633917 13f79535-47bb-0310-9956-ffa450edef68
HIVE-8545: Exception when casting Text to BytesWritable [Spark Branch] (Chao via Xuefu)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1633931 13f79535-47bb-0310-9956-ffa450edef68