SparkSQL & Spark on Hive & Hive on Spark Spark On Hive, 将Hive做为数据库, 获得表数据后, 使用Spark SQL对表操作. Hive On Spark, 将Hive的计算引擎替换Spark RDD操作.