Use the Tez Query Execution Engine
The Tez query execution engine replaces MapReduce, executing Hive queries more efficiently. For the best Hive performance, always use Tez. Currently, Hive on Spark shows promise, but does not offer the same maturity that Tez offers. The following diagram compares Tez to MapReduce query execution.