LuciferYang opened a new pull request, #2838: URL: https://github.com/apache/uniffle/pull/2838
### What changes were proposed in this pull request? - Bump Jetty from 9.3.24 to 9.4.58.v20250814, the latest 9.4 release on Maven Central (Jetty 10 needs Java 11). The spark4.x profiles drop their 9.4.53 pin. - `JettyServer` builds its HTTPS connector with `SslContextFactory.Server`. In 9.4 the base class turns on hostname verification and rejects keystores with several certificates; the server variant keeps the 9.3 behavior. - Exclude the Servlet 2.5 API that Hadoop 2.8 and Tez 0.9 bring in. On test classpaths it comes before the Servlet 3.1 API that Jetty 9.4 needs, and Jetty fails with `NoSuchMethodError: ServletContext.createServlet`. - Move the hadoop3.2 profile from Hadoop 3.2.1 to 3.2.3. The tests' MiniDFSCluster runs on Uniffle's Jetty, and 3.2.1 calls `SessionHandler.getSessionManager()`, which 9.4 removed. 3.2.3 is built against Jetty 9.4.40. 3.2.4 is skipped because it switches the SLF4J binding to slf4j-reload4j, which this build does not exclude. ### Why are the changes needed? This closes the 9 Dependabot alerts on jetty-server. Three advisories still apply to 9.4.58, and no 9.4 release on Maven Central fixes them: - GHSA-7p3p-8qv8-m2vh (medium, jetty-server) is about HTTP/2 and HTTP/3 requests. Uniffle's Jetty servers only serve HTTP/1.1. - GHSA-355h-qmc2-wpwf (high, jetty-http, request smuggling through chunk extensions) is fixed in 9.4.60, which is not on Maven Central. - GHSA-wjpw-4j6x-6rwh (low, jetty-http) is about how invalid URIs are parsed. Only Jetty 12 has a fix. ### Does this PR introduce _any_ user-facing change? The server, coordinator, CLI, dashboard and Spark shaded clients bundle Jetty 9.4.58. They now also bundle jetty-util-ajax, which LICENSE-binary already lists. Builds with `--hadoop-profile hadoop3.2` compile against Hadoop 3.2.3, and builds that add `-Phadoop-dependencies-included` bundle it. ### How was this patch tested? `JettyServerTest.httpsConnectorUsesServerSslContextFactory` builds a `JettyServer` with SSL enabled and checks that the HTTPS connector uses `SslContextFactory.Server` with hostname verification off. It fails with the base `SslContextFactory`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
