ruanwenjun opened a new pull request, #7837:
URL: https://github.com/apache/kyuubi/pull/7837
### Why are the changes needed?
Server session creation uses `conf`, `kyuubiConf`, and `userConf` for
configurations with different sources and scopes, making it difficult to tell
whether a value is a server policy, a session request, or the session's merged
configuration.
Use `serverConf`, `sessionRequestConf`, and `sessionConf` consistently along
the server-side session creation and EngineRef path, with `advisorConf` for
advisor output and `engineSessionRequestConf` for the engine OpenSession
request. Configuration reads, merges, and object sharing retain their existing
behavior.
Closes #7836.
### How was this patch tested?
Nine existing tests passed in `KyuubiApplicationManagerSuite`,
`EngineRefDataAgentSuite`, and `KyuubiSessionManagerLimiterSuite` with Java 11
and Scala 2.12:
```bash
build/mvn -B -ntp test -pl kyuubi-server -am \
-Pspark-provided,flink-provided,hive-provided -Dtest=none \
-DwildcardSuites=org.apache.kyuubi.engine.KyuubiApplicationManagerSuite,org.apache.kyuubi.engine.EngineRefDataAgentSuite,org.apache.kyuubi.session.KyuubiSessionManagerLimiterSuite
```
`dev/reformat`, Spotless, Scalastyle, and `git diff --check` passed. No new
tests were added because this patch only renames configuration parameters and
local variables, with corresponding comment and formatting updates.
### Was this patch assisted by generative AI tooling?
Assisted-by: Codex (GPT-6)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]