Go to file
Bowen Liang d45a60de6e
Some checks failed
CI / Kyuubi and Spark Test (normal, , 11, 3.1, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 11, 3.2, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 11, 3.3, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 8, 3.1, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 8, 3.2, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (normal, , 8, 3.3, ) (push) Has been cancelled
CI / Kyuubi and Spark Test (verify-on-spark-3.1-binary, -Dmaven.plugin.scalatest.exclude.tags=org.scalatest.tags.Slow,org.apache.kyuubi.tags.DeltaTest,org.apache.kyuubi.tags.HudiTest,org.apache.kyuubi.tags.IcebergTest, 8, 3.2, -Dspark.archive.mirror=https:/… (push) Has been cancelled
CI / Kyuubi and Spark Test (verify-on-spark-3.3-binary, -Dmaven.plugin.scalatest.exclude.tags=org.scalatest.tags.Slow,org.apache.kyuubi.tags.DeltaTest,org.apache.kyuubi.tags.HudiTest,org.apache.kyuubi.tags.IcebergTest, 8, 3.2, -Dspark.archive.mirror=https:/… (push) Has been cancelled
CI / Flink Test (normal, 1.14, , 11) (push) Has been cancelled
CI / Flink Test (normal, 1.14, , 8) (push) Has been cancelled
CI / Flink Test (normal, 1.15, , 11) (push) Has been cancelled
CI / Flink Test (normal, 1.15, , 8) (push) Has been cancelled
CI / Flink Test (verify-on-flink-1.14-binary, 1.15, -Dflink.archive.mirror=https://archive.apache.org/dist/flink/flink-1.14.5 -Dflink.archive.name=flink-1.14.5-bin-scala_2.12.tgz, 8) (push) Has been cancelled
CI / Hive Test (normal, 8) (push) Has been cancelled
CI / JDBC Test (normal, 11) (push) Has been cancelled
CI / JDBC Test (normal, 8) (push) Has been cancelled
CI / Trino Test (normal, 11) (push) Has been cancelled
CI / Trino Test (normal, 8) (push) Has been cancelled
CI / TPC-H and TPC-DS Tests (push) Has been cancelled
CI / Kyuubi Server On Kubernetes Integration Test (push) Has been cancelled
CI / Spark Engine On Kubernetes Integration Test (push) Has been cancelled
[KYUUBI #5754] [MINOR] Fix engine id of the engine probe failures logging messages
# 🔍 Description
## Issue References 🔗

As described.

## Describe Your Solution 🔧

Fix the engine id in engine probe failures messages.

![image](https://github.com/apache/kyuubi/assets/1935105/6de038e7-efab-4197-a425-a5298259174d)

## Types of changes 🔖

- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

#### Behavior Without This Pull Request ⚰️

#### Behavior With This Pull Request 🎉

#### Related Unit Tests

---

# Checklists
## 📝 Author Self Checklist

- [x] My code follows the [style guidelines](https://kyuubi.readthedocs.io/en/master/contributing/code/style.html) of this project
- [x] I have performed a self-review
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

## 📝 Committer Pre-Merge Checklist

- [ ] Pull request title is okay.
- [ ] No license issues.
- [ ] Milestone correctly set?
- [ ] Test coverage is ok
- [ ] Assignees are selected.
- [ ] Minimum number of approvals
- [ ] No changes are requested

**Be nice. Be informative.**

Closes #5754 from bowenliang123/engineid-some.

Closes #5754

893678472 [Bowen Liang] fix engine id of the engine probe failures logging messages

Authored-by: Bowen Liang <liangbowen@gf.com.cn>
Signed-off-by: Bowen Liang <liangbowen@gf.com.cn>
(cherry picked from commit f7bbe5b9de)
Signed-off-by: Bowen Liang <liangbowen@gf.com.cn>
2023-11-23 15:56:41 +08:00
.github [KYUUBI #4317] Upload kyuubi-spark-batch-submit.log.* on CI failure 2023-02-13 11:39:32 +00:00
.idea
bin [KYUUBI #3598] Beeline doesn't work with -e option when started in background 2022-10-09 22:03:48 +08:00
build [KYUUBI #4247][FOLLOWUP] Fix build/mvn version comparison 2023-02-09 12:50:29 +00:00
conf [KYUUBI #2850][FOLLOWUP] Fix default log4j2 configuration 2022-07-04 13:51:34 +08:00
dev [KYUUBI #3796] Bump Netty from 4.1.73.Final to 4.1.84.Final 2022-12-02 15:43:26 +08:00
docker [KYUUBI #3831] Update Dockerfile to include LICENSE NOTICE RELEASE files 2022-11-22 18:56:23 +08:00
docs [KYUUBI #4627] [Docs] Fix a typo in rest_api.md. 2023-03-28 18:15:15 +08:00
extensions [KYUUBI #4076][AUTHZ][FOLLOWUP][1.6] Add missing withCleanTmpResources 2023-01-06 12:19:15 +08:00
externals [KYUUBI #4446] Fix connections blocked by Flink insert statements 2023-03-09 13:42:21 +08:00
integration-tests Bump 1.6.2-SNAPSHOT 2022-11-07 22:50:10 +08:00
kyuubi-assembly Bump 1.6.2-SNAPSHOT 2022-11-07 22:50:10 +08:00
kyuubi-common [KYUUBI #4462] Fix variable usage issue in SessionManager#stop 2023-03-07 13:59:16 +08:00
kyuubi-ctl [KYUUBI #4067] Reset the operation log before fetching new one 2023-01-04 09:39:56 +08:00
kyuubi-events Bump 1.6.2-SNAPSHOT 2022-11-07 22:50:10 +08:00
kyuubi-ha [KYUUBI #3888] [HA] Add more info to log when zk auth keytab not found 2022-12-02 16:09:42 +08:00
kyuubi-hive-beeline [KYUUBI #4305][Bug] Backport HIVE-15820: comment at the head of beeline -e 2023-02-16 17:09:10 +08:00
kyuubi-hive-jdbc [KYUUBI #4311] Fix the wrong parsing of jvm parameters in jdbc url. 2023-02-15 11:04:39 +00:00
kyuubi-hive-jdbc-shaded Bump 1.6.2-SNAPSHOT 2022-11-07 22:50:10 +08:00
kyuubi-metrics Bump 1.6.2-SNAPSHOT 2022-11-07 22:50:10 +08:00
kyuubi-rest-client [KYUUBI #4489] [REST] Fix missing org.apache.commons.logging by including jcl-over-slf4j dependency in REST client 2023-03-10 11:20:16 +08:00
kyuubi-server [KYUUBI #5754] [MINOR] Fix engine id of the engine probe failures logging messages 2023-11-23 15:56:41 +08:00
kyuubi-zookeeper Bump 1.6.2-SNAPSHOT 2022-11-07 22:50:10 +08:00
licenses [KYUUBI #2115] Update license and enhance collect_licenses script 2022-03-14 19:45:40 +08:00
licenses-binary [KYUUBI #3254] Supplement the licenses of support etcd discovery 2022-08-23 20:08:42 +08:00
tools/spark-block-cleaner Bump 1.6.2-SNAPSHOT 2022-11-07 22:50:10 +08:00
.asf.yaml [KYUUBI #2042] [KYUUI #2036] Redirect Issues/PR Notifications to notifications@kyuubi.apache.org 2022-03-05 22:20:33 +08:00
.dockerignore
.gitattributes [KYUUBI #2439] Using Pure Java TPC-DS generator 2022-04-24 11:03:55 +08:00
.gitignore [KYUUBI #2850][FOLLOWUP] Replace log4j2.properties by log4j2.xml 2022-07-04 16:48:02 +08:00
.rat-excludes [KYUUBI #2834] [SUB-TASK][KPIP-4] Support to retry the metadata requests on transient issue and unblock main thread 2022-06-16 12:20:49 +08:00
.readthedocs.yml
.scalafmt.conf [KYUUBI #1383] Leverage Scalafmt to auto format scala code 2021-11-22 17:51:23 +08:00
.travis.yml [KYUUBI #3199] [BUILD] Fix travis JAVA_HOME 2022-08-08 20:31:42 +08:00
codecov.yml
CONTRIBUTING.md [KYUUBI #2751] [DOC] Replace sphinx_rtd_theme with sphinx_book_theme 2022-05-27 02:22:36 +08:00
DISCLAIMER
LICENSE [KYUUBI #2115] Update license and enhance collect_licenses script 2022-03-14 19:45:40 +08:00
LICENSE-binary [KYUUBI #3776] [BUILD] Revise Kyuubi Spark engine shaded 2022-12-02 15:50:34 +08:00
MATURITY.md [KYUUBI #3174] Update MATURITY for C30, RE50, CO20, CO40, CO50, CS10, IN10 2022-08-03 10:00:53 +08:00
NOTICE [KYUUBI #4061] Update NOTICE to mention 2023 2023-01-03 13:37:23 +08:00
NOTICE-binary [KYUUBI #4061] Update NOTICE to mention 2023 2023-01-03 13:37:23 +08:00
pom.xml [KYUUBI #3776] [BUILD] Revise Kyuubi Spark engine shaded 2022-12-02 15:50:34 +08:00
README.md [KYUUBI #2516] [DOCS] Add Contributor over time in README.md 2022-04-29 18:26:24 +08:00
scalastyle-config.xml

Apache Kyuubi (Incubating)

Kyuubi logo

License Release codecov GitHub Workflow Status Travis Documentation Status GitHub top language Commit activity Average time to resolve an issue Percentage of issues still open

What is Kyuubi?

Kyuubi is a distributed multi-tenant Thrift JDBC/ODBC server for large-scale data management, processing, and analytics, built on top of Apache Spark and designed to support more engines (i.e., Flink). It has been open-sourced by NetEase since 2018. We are aiming to make Kyuubi an "out-of-the-box" tool for data warehouses and data lakes.

Kyuubi provides a pure SQL gateway through Thrift JDBC/ODBC interface for end-users to manipulate large-scale data with pre-programmed and extensible Spark SQL engines. This "out-of-the-box" model minimizes the barriers and costs for end-users to use Spark at the client side. At the server-side, Kyuubi server and engines' multi-tenant architecture provides the administrators a way to achieve computing resource isolation, data security, high availability, high client concurrency, etc.

  • A HiveServer2-like API
  • Multi-tenant Spark Support
  • Running Spark in a serverless way

Target Users

Kyuubi's goal is to make it easy and efficient for anyone to use Spark(maybe other engines soon) and facilitate users to handle big data like ordinary data. Here, anyone means that users do not need to have a Spark technical background but a human language, SQL only. Sometimes, SQL skills are unnecessary when integrating Kyuubi with Apache Superset, which supports rich visualizations and dashboards.

In typical big data production environments with Kyuubi, there should be system administrators and end-users.

  • System administrators: A small group consists of Spark experts responsible for Kyuubi deployment, configuration, and tuning.
  • End-users: Focus on business data of their own, not where it stores, how it computes.

Additionally, the Kyuubi community will continuously optimize the whole system with various features, such as History-Based Optimizer, Auto-tuning, Materialized View, SQL Dialects, Functions, e.t.c.

Usage scenarios

Port workloads from HiveServer2 to Spark SQL

In typical big data production environments, especially secured ones, all bundled services manage access control lists to restricting access to authorized users. For example, Hadoop YARN divides compute resources into queues. With Queue ACLs, it can identify and control which users/groups can take actions on particular queues. Similarly, HDFS ACLs control access of HDFS files by providing a way to set different permissions for specific users/groups.

Apache Spark is a unified analytics engine for large-scale data processing. It provides a Distributed SQL Engine, a.k.a, the Spark Thrift Server(STS), designed to be seamlessly compatible with HiveServer2 and get even better performance.

HiveServer2 can identify and authenticate a caller, and then if the caller also has permissions for the YARN queue and HDFS files, it succeeds. Otherwise, it fails. However, on the one hand, STS is a single Spark application. The user and queue to which STS belongs are uniquely determined at startup. Consequently, STS cannot leverage cluster managers such as YARN and Kubernetes for resource isolation and sharing or control the access for callers by the single user inside the whole system. On the other hand, the Thrift Server is coupled in the Spark driver's JVM process. This coupled architect puts a high risk on server stability and makes it unable to handle high client concurrency or apply high availability such as load balancing as it is stateful.

Kyuubi extends the use of STS in a multi-tenant model based on a unified interface and relies on the concept of multi-tenancy to interact with cluster managers to finally gain the ability of resources sharing/isolation and data security. The loosely coupled architecture of the Kyuubi server and engine dramatically improves the client concurrency and service stability of the service itself.

DataLake/LakeHouse Support

The vision of Kyuubi is to unify the portal and become an easy-to-use data lake management platform. Different kinds of workloads, such as ETL processing and BI analytics, can be supported by one platform, using one copy of data, with one SQL interface.

  • Logical View support via Kyuubi DataLake Metadata APIs
  • Multiple Catalogs support
  • SQL Standard Authorization support for DataLake(coming)

Cloud Native Support

Kyuubi can deploy its engines on different kinds of Cluster Managers, such as, Hadoop YARN, Kubernetes, etc.

The Kyuubi Ecosystem(present and future)

The figure below shows our vision for the Kyuubi Ecosystem. Some of them have been realized, some in development, and others would not be possible without your help.

Online Documentation

Since Kyuubi 1.3.0-incubating, the Kyuubi online documentation is hosted by https://kyuubi.apache.org/. You can find the latest Kyuubi documentation on this web page. For 1.2 and earlier versions, please check the Readthedocs directly.

Quick Start

Ready? Getting Started with Kyuubi.

Contributing

Contributor over time

Contributor over time

Aside

The project took its name from a character of a popular Japanese manga - Naruto. The character is named Kyuubi Kitsune/Kurama, which is a nine-tailed fox in mythology. Kyuubi spread the power and spirit of fire, which is used here to represent the powerful Apache Spark. Its nine tails stand for end-to-end multi-tenancy support of this project.

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.