Split maven modules with dependency on jetty http server #24395
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This commit splits presto-main into presto-main and presto-main-base. presto-main continues to be the module responsible for the PrestoServer executable which includes the airlift http-server dependency. presto-main-base
is all of the internal classes required to run presto and does not depend on the airlift http-server dependency.
Motivation and Context
This is in preparation to upgrade to Java 17 within Presto. The entire Presto codebase is capable of moving to 17, however there are users of Presto-On-Spark which can't upgrade to 17 yet. This PR is a stopgap to allow us to upgrade a large portion of the codebase while supporting PoS on Java 8. PoS can now depend on
presto-main-base
instead ofpresto-main
.Eventually these modules may be recombined after all PoS users have moved to Java 17 runtime, or we can just upgrade their build compatibility to 17.
Impact
Should have no user-facing impact.
Test Plan
Existing tests.
Contributor checklist
Release Notes