kyuubi/dev
Cheng Pan d007d7af10
[KYUUBI #6099] Remove support of Derby for Kyuubi metastore
# 🔍 Description
## Issue References 🔗

This pull request removes support of Derby for Kyuubi metastore.

## Describe Your Solution 🔧

Previously, we migrated the embedded DB of Kyuubi metastore from Derby to SQLite, and also marked Derby as deprecated (#4950), now, I propose to remove support of Derby for Kyuubi metastore.

Note, that both Derby and SQLite are mainly for testing purposes, and they're not supposed to be used in production. Users should not be surprised by this removal.

Also, the Derby we used suffers CVE-2022-46337

> Mitigation:
>
> Users should upgrade to Java 21 and Derby 10.17.1.0.
>
> Alternatively, users who wish to remain on older Java versions should build their own Derby distribution from one of the release families to which the fix was backported: 10.16, 10.15, and 10.14. Those are the releases which correspond, respectively, with Java LTS versions 17, 11, and 8.

## Types of changes 🔖

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

## Test Plan 🧪

Some tests are modified accordingly. Pass GA.

---

# Checklist 📝

- [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes #6099 from pan3793/remove-derby.

Closes #6099

7e9dfd692 [Cheng Pan] Remove support of Derby for Kyuubi metastore

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2024-02-27 19:15:41 +08:00
..
gen [KYUUBI #5275] [DOC] Improve and fix comparation and regeneration for golden files 2023-09-13 17:41:27 +08:00
kyuubi-codecov [KYUUBI #5837] [INFRA] Only enable Jacoco with explicit profile 2023-12-10 23:58:59 +08:00
kyuubi-tpcds [KYUUBI #5925] Kyuubi TPC-DS support running benchmark with skipping some queries 2023-12-28 17:01:46 +08:00
checkout_pr.sh [KYUUBI #1233] Add checkout_pr.sh script 2021-10-14 13:53:09 +08:00
dependencyList [KYUUBI #6099] Remove support of Derby for Kyuubi metastore 2024-02-27 19:15:41 +08:00
merge_kyuubi_pr.py [KYUUBI #5152] Check milestone and assignees when merging pull request 2023-08-14 09:52:18 +08:00
reformat [KYUUBI #5941] Drop Kubernetes Block Cleaner Tool from Kyuubi 2024-01-04 15:58:10 +08:00