# 🔍 Description ## Issue References 🔗 This pull request fixes https://github.com/apache/kyuubi/issues/6523 ## Describe Your Solution 🔧 `KyuubiServer` respects configuration properties provided as `--conf` cli options with highest priority. ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [x] 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 ⚰️ REST endpoint starts at `10099` port: ```shell bin/kyuubi run --conf kyuubi.frontend.rest.bind.port=9999 ... 2024-07-10 17:57:24.998 INFO main org.apache.kyuubi.server.KyuubiRestFrontendService: Service[KyuubiRestFrontendService] is started. 2024-07-10 17:57:24.999 INFO main org.apache.kyuubi.server.KyuubiRestFrontendService: Exposing REST endpoint at: http://0.0.0.0:10099 2024-07-10 17:57:24.999 INFO main org.apache.kyuubi.server.KyuubiServer: Service[KyuubiServer] is started. ``` #### Behavior With This Pull Request 🎉 REST endpoint starts at `9999` port: ```shell bin/kyuubi run --conf kyuubi.frontend.rest.bind.port=9999 ... 2024-07-10 17:49:41.659 INFO main org.apache.kyuubi.server.KyuubiRestFrontendService: Service[KyuubiRestFrontendService] is started. 2024-07-10 17:49:41.660 INFO main org.apache.kyuubi.server.KyuubiRestFrontendService: Exposing REST endpoint at: http://0.0.0.0:9999 2024-07-10 17:49:41.660 INFO main org.apache.kyuubi.server.KyuubiServer: Service[KyuubiServer] is started. ``` #### Related Unit Tests `kyuubi-common/src/test/scala/org/apache/kyuubi/config/KyuubiConfSuite.scala` --- # Checklist 📝 - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6530 from dnskr/kyuubi-supports-conf-args. Closes #6523 c7dbb305b [dnskr] Parse command and shift args 4977af168 [dnskr] [KYUUBI #6523] Support configuration with --conf options Authored-by: dnskr <dnskrv88@gmail.com> Signed-off-by: Cheng Pan <chengpan@apache.org> |
||
|---|---|---|
| .. | ||
| beeline | ||
| docker-image-tool.sh | ||
| kyuubi | ||
| kyuubi-admin | ||
| kyuubi-beeline | ||
| kyuubi-ctl | ||
| kyuubi-logo | ||
| kyuubi-zk-cli | ||
| load-kyuubi-env.sh | ||
| stop-application.sh | ||