You integrate Spark-SQL with Hive when you want to run Spark-SQL queries on Hive
tables. This information is for Spark 1.6.1 or earlier users.
For information about Spark-SQL and Hive support, see Spark Feature
Support.
Note: If you installed Spark with the MapR Installer, the following steps are not
required.
Note: The default port for both HiveServer 2 and the Spark Thrift server is 10000.
Therefore, before you start the Spark Thrift server on a node where HiveServer 2 is
running, verify that there is no port conflict.