[SPARK-45522][BUILD][CORE][SQL][UI] Migrate from Jetty 9 to Jetty 10
### What changes were proposed in this pull request? This is an upgrade ticket to bump the Jetty version from 9 to 10. This PR aims to bring incremental Jetty upgrades to Spark, as Jetty 9 support already reached EOL. ### Why are the changes needed? Jetty 9 is already beyond EOL, which means that we won't receive any security fix onward for Spark. ### Does this PR introduce _any_ user-facing change? No, SNI host check is now defaulted to true on embedded Jetty, hence set it back to false to maintain backward compatibility. Despite the redirect behaviour changed for trailing /, but modern browser should be able to pick up the 302 status code and perform redirect accordingly, hence there is no impact on user level. ### How was this patch tested? Junit test case. ### Was this patch authored or co-authored using generative AI tooling? No Closes #43765 from HiuKwok/ft-hf-SPARK-45522-jetty-upgradte. Lead-authored-by: HiuFung Kwok <hiufkwok@gmail.com> Co-authored-by: HiuFung Kwok <37996731+HiuKwok@users.noreply.github.com> Signed-off-by: Sean Owen <srowen@gmail.com>
H
HiuFung Kwok committed
6c19bf6b48e7e2ab9937dc2d91ea23dd83abae64
Parent: 0c7770f
Committed by Sean Owen <srowen@gmail.com>
on 1/31/2024, 3:42:16 PM