ic4y opened a new issue, #6385: URL: https://github.com/apache/kyuubi/issues/6385
### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) ### Search before asking - [X] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues. ### Describe the bug When using a Kyuubi cluster to proxy multiple big data environments, we use the kyuubi.engineEnv.HADOOP_CONF_DIR in sessionConf to specify the configuration related to the big data environment. However, after creating the engine, the yarnClient used in KyuubiApplicationManager.getApplicationInfo is not created using sessionConf, which will result in the connection not being the cluster specified by kyuubi.engineEnv.HADOOP_CONF_DIR. Related classes: org.apache.kyuubi.engine.KyuubiApplicationManager#getApplicationInfo org.apache.kyuubi.engine.ApplicationOperation#getApplicationInfoByTag org.apache.kyuubi.engine.ApplicationOperation#killApplicationByTag org.apache.kyuubi.engine.YarnApplicationOperation#initialize org.apache.kyuubi.util.KyuubiHadoopUtils#newYarnConfiguration The same problem will also occur in BatchSession, KubernetesApplicationOperation, HiveEngine YARN mode, and so on. ### Affects Version(s) 1.9.0 ### Kyuubi Server Log Output ```logtalk None ``` ### Kyuubi Engine Log Output ```logtalk None ``` ### Kyuubi Server Configurations ```yaml None ``` ### Kyuubi Engine Configurations ```yaml None ``` ### Additional context _No response_ ### Are you willing to submit PR? - [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix. - [ ] No. I cannot submit a PR at this time. -- 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]
