pan3793 opened a new issue, #3405: URL: https://github.com/apache/incubator-kyuubi/issues/3405
### 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/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues. ### Describe the flaky test ``` - all hadoop related environment variables are configured except FLINK_HADOOP_CLASSPATH *** FAILED *** ``` The test case(call it T in the following text) was accidentally broken by #2827, but it always passes in CI because due to we split the test cases. In detail, before #2827, the `kyuubi-server` depends on `kyuubi-flink-engine`, so T always sees the compiled jars of `kyuubi-flink-engine`, and uses `FLINK_HADOOP_CLASSPATH` to detect jar of `kyuubi-flink-engine`. After #2827, the `kyuubi-server` does not depends on `kyuubi-flink-engine`, and when `FLINK_HADOOP_CLASSPATH` is absent, fallback to detect jar of `kyuubi-flink-engine` by relative path. Then when `FLINK_HADOOP_CLASSPATH` is absent, 1) if we compile `kyuubi-flink-engine` before `kyuubi-server`, T failed that's the situation of [1]. 2) if we do not compile `kyuubi-flink-engine` before `kyuubi-server`, T passed. So, T failed does not mean a bug, T should be enhanced or removed. [1] https://www.mail-archive.com/[email protected]/msg78299.html ### Actions URL https://www.mail-archive.com/[email protected]/msg78299.html ### Parent issue #1733 ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! -- 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]
