Overview

Kyuubi v.s. HiveServer2

师成师成· 更新于 2026-09-29· 阅读 4 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

Introduction

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

KyuubiHiveServer2
LanguageSpark SQLHive QL
OptimizerSpark SQL CatalystHive Optimizer
Engineup to Spark 3.xMapReduce/up to Spark 2.3/Tez
PerformanceHighLow
Compatibility with SparkGoodBad(need to rebuild on a specific version)
Data TypesSpark Data TypesHive Data Types

Performance

References

  1. HiveServer2 Overview

评论

登录后参与评论

正在加载评论…