yihua opened a new pull request, #11513: URL: https://github.com/apache/hudi/pull/11513
### Change Logs This PR contains the changes from #11479 and targets at `branch-0.x`. This PR adds support for compiling Hudi on Java 11 for engines like Spark and Flink that support Java 11 and 17. Detailed changes: - Fixes compilation errors on Java 11; maintains the code to be compilable on Java 8. - Adds new GitHub CI jobs on validating Hudi built by Java 11, by running the tests on Spark 3.5 with Java 17 runtime. These are moved from existing CI jobs validating Hudi built by Java 8. The tests on Spark 3.3 and 3.4 still run with Java 8 compilation and Java 17 runtime. Kudos to @Zouxxyy for contributing to this PR from #9300. ### Impact Makes Hudi compilable on Java 11. ### Risk level none ### Documentation Update Docs on Java 11 compilation support. ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [ ] Change Logs and Impact were stated clearly - [ ] Adequate tests were added if applicable - [ ] CI passed -- 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]
