### _Why are the changes needed?_ Apache Derby is no longer active. One major drawback of Derby is that it does not support multiple connections to single db files, making it hard to analyze the data on local development. SQLite may be the most popular embedded DBMS in the world. It lives almost in every smartphone (at least Android and iOS integrate SQLite), which means SQLite is quite stable and may be a good choice for standalone production deployment. SQLite provides a CLI command `sqlite3` which is easy to use to connect a data file and run queries. Multi connections to a single db file is allowed, which helps a lot to analyze the data when the Kyuubi server is running. ### _How was this patch tested?_ - [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4950 from pan3793/sqlite. Closes #4950 738c39e6a [Cheng Pan] Update docs/deployment/migration-guide.md 5facdad9c [Cheng Pan] Update docs/deployment/migration-guide.md b9883489c [Cheng Pan] migrate default metadata store to sqlite c785e1a77 [Cheng Pan] migrate jdbc auth test to sqlite 23f63b932 [Cheng Pan] introduce sqlite deps Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
82 lines
1.8 KiB
Plaintext
82 lines
1.8 KiB
Plaintext
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership.
|
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
# (the "License"); you may not use this file except in compliance with
|
|
# the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
*#*#
|
|
*.#*
|
|
*.db
|
|
*.iml
|
|
*.ipr
|
|
*.iws
|
|
*.pyc
|
|
*.pyo
|
|
*.swp
|
|
*~
|
|
.DS_Store
|
|
.cache
|
|
.classpath
|
|
.ensime
|
|
.ensime_cache/
|
|
.ensime_lucene
|
|
.generated-mima*
|
|
.vscode/
|
|
.idea/
|
|
.idea_modules/
|
|
.project
|
|
.pydevproject
|
|
.python-version
|
|
.scala_dependencies
|
|
.settings
|
|
build/apache-maven*
|
|
build/release/tmp
|
|
build/scala*
|
|
build/test
|
|
target/
|
|
dist/
|
|
apache-kyuubi-*-bin*
|
|
*.gz
|
|
logs/
|
|
pid/
|
|
local/
|
|
out/
|
|
hs_err_pid*
|
|
spark-warehouse/
|
|
metastore_db
|
|
derby.log
|
|
rest-audit.log
|
|
**/dependency-reduced-pom.xml
|
|
metrics/
|
|
/kyuubi-ha/embedded_zookeeper/
|
|
embedded_zookeeper/
|
|
/externals/kyuubi-spark-sql-engine/operation_logs/
|
|
/externals/kyuubi-spark-sql-engine/engine_operation_logs/
|
|
/externals/kyuubi-spark-sql-engine/spark-warehouse/
|
|
/work/
|
|
/docs/_build/
|
|
/kyuubi-common/metrics/
|
|
/kyuubi-server/metrics/
|
|
**/operation_logs/
|
|
**/server_operation_logs/
|
|
**/engine_operation_logs/
|
|
conf/log4j2.xml
|
|
conf/kyuubi-defaults.conf
|
|
conf/kyuubi-env.sh
|
|
|
|
# For Antlr
|
|
kyuubi-server/gen
|
|
kyuubi-server/src/main/antlr4/org/apache/kyuubi/sql/*.tokens
|
|
kyuubi-server/src/main/antlr4/org/apache/kyuubi/sql/gen/
|