Kyuubi v.s. HiveServer2#
HiveServer2 is a service that enables clients to execute Hive QL queries on Hive supporting multi-client concurrency and authentication. Kyuubi enables clients to execute Spark SQL queries directly on Spark supporting multi-client concurrency and authentication too.
They are both designed to provide better support for open API clients like JDBC and ODBC to manage and analyze BigData.
Hive on Spark#
The purpose of Hive on Spark is to add Spark as a third execution backend, parallel to MR and Tez. Comparing to Hive on MR, it’s use the Spark DAG will help improve the performance of Hive queries, especially those have multiple reducer stages.
Differences Between Kyuubi and HiveServer2#
|Spark SQL Catalyst
|up to Spark 3.x
|MapReduce/up to Spark 2.3/Tez
|Compatibility with Spark
|Bad(need to rebuild on a specific version)
|Spark Data Types
|Hive Data Types