Spark SQL is a Spark module for structured data processing. It supports Hive data formats, user-defined functions (UDFs), and the Hive metastore, and can act as a distributed SQL query engine.
"Hive on Spark" enables Hive to run on Spark; Spark operates as an execution backend for Hive queries.
For further reading from our docs:
Already addressed via the thread