kyuubi/docs/deployment
Cheng Pan 2aa330c850 [KYUUBI #5892] Metadata store JDBC url supports <KYUUBI_HOME> variable
# 🔍 Description
## Issue References 🔗

Similar to https://github.com/apache/kyuubi/pull/5412, this PR aims to change the default SQLite file `kyuubi_state_store.db` for Metadata store is located under `$KYUUBI_HOME` instead of `$PWD`.

## Describe Your Solution 🔧

Make `kyuubi.metadata.store.jdbc.url` supports the variables substitution: `<KYUUBI_HOME>`, and change the default value to `jdbc:sqlite:<KYUUBI_HOME>/kyuubi_state_store.db`

## Types of changes 🔖

- [ ] 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 🧪

Verified locally. Make a binary distribution, and bootstrap the Kyuubi Server process from a non-KYUUBI_HOME dir, `kyuubi_state_store.db` is created at KYUUBI_HOME as expected.

---

# Checklists
## 📝 Author Self Checklist

- [ ] 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
- [ ] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [x] 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 #5892 from pan3793/sqlite-jdbc-url.

Closes #5892

4341f4263 [Cheng Pan] docs
7062bcdf9 [Cheng Pan] migration guide
989de0e5b [Cheng Pan] Metadata store JDBC url supports <KYUUBI_HOME> variable

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Fei Wang <fwang12@ebay.com>
2023-12-21 14:19:24 -08:00
..
spark [KYUUBI #5800] [KYUUBI#5467] Integrate Intel Gluten with Spark engine 2023-12-07 10:47:00 +08:00
engine_lifecycle.md
engine_on_kubernetes.md [KYUUBI #5227] [DOCS] Added deploy mode info 2023-09-11 11:46:18 +00:00
engine_on_yarn.md [KYUUBI #5265] [DOCS][FLINK] Add notice about Jobmanager HA to Flink deployment docs 2023-09-09 01:01:03 +08:00
engine_share_level.md [KYUUBI #4226] Fix word spelling typos in docs 2023-02-02 11:43:03 +08:00
high_availability_guide.md [KYUUBI #4864] [DOCS] Fix grammar in HA section 2023-05-21 22:26:17 +08:00
hive_metastore.md [KYUUBI #4235] [DOCS] Prefer https:// URLs in docs 2023-02-03 14:01:11 +08:00
index.rst [KYUUBI #5154] [Doc] Move configuration docs to the top level 2023-08-11 18:23:08 +08:00
kyuubi_on_kubernetes.md [KYUUBI #5085] Update config section of deploy on kubernetes 2023-07-24 22:38:03 +08:00
migration-guide.md [KYUUBI #5892] Metadata store JDBC url supports <KYUUBI_HOME> variable 2023-12-21 14:19:24 -08:00