Skip to content

AWS, Core: Switch Jetty to use new Compression API for GZIP#15043

Merged
nastra merged 3 commits intoapache:mainfrom
nastra:jetty-switch-to-new-compression-api
Apr 11, 2026
Merged

AWS, Core: Switch Jetty to use new Compression API for GZIP#15043
nastra merged 3 commits intoapache:mainfrom
nastra:jetty-switch-to-new-compression-api

Conversation

@nastra
Copy link
Copy Markdown
Contributor

@nastra nastra commented Jan 13, 2026

This currently depends on Build: Bump Jetty to 12.1.5

@nastra nastra force-pushed the jetty-switch-to-new-compression-api branch 2 times, most recently from d365a5f to e935da0 Compare January 13, 2026 13:55
@github-actions github-actions Bot added the spark label Jan 13, 2026
@nastra nastra marked this pull request as draft January 13, 2026 15:58
@github-actions
Copy link
Copy Markdown

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.

@github-actions github-actions Bot added the stale label Feb 13, 2026
@nastra nastra force-pushed the jetty-switch-to-new-compression-api branch from 29edaf8 to 91f00ef Compare February 16, 2026 08:05
@github-actions github-actions Bot removed the stale label Feb 17, 2026
@github-actions
Copy link
Copy Markdown

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.

@github-actions github-actions Bot added the stale label Mar 19, 2026
@github-actions
Copy link
Copy Markdown

This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.

@github-actions github-actions Bot closed this Mar 26, 2026
@nastra nastra reopened this Mar 26, 2026
@github-actions github-actions Bot removed the stale label Mar 27, 2026
@manuzhang
Copy link
Copy Markdown
Member

@nastra can you please rebase this PR?

@nastra nastra force-pushed the jetty-switch-to-new-compression-api branch 2 times, most recently from 5e6e2bc to eec9e28 Compare April 6, 2026 21:43
@nastra nastra marked this pull request as ready for review April 6, 2026 21:43
@nastra nastra force-pushed the jetty-switch-to-new-compression-api branch from eec9e28 to 14cba3f Compare April 6, 2026 22:04
Comment thread gradle/libs.versions.toml Outdated
jakarta-el-api = { module = "jakarta.el:jakarta.el-api", version.ref = "jakarta-el-api" }
jakarta-servlet = {module = "jakarta.servlet:jakarta.servlet-api", version.ref = "jakarta-servlet-api"}
jetty-server = { module = "org.eclipse.jetty:jetty-server", version.ref = "jetty" }
jetty-server = { module = "org.eclipse.jetty.compression:jetty-compression-server", version.ref = "jetty" }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might be confusing. I'd suggest naming it jetty-compression-server and jetty-compression-gzip below.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, My agent review flagged this and noted that the Iceberg-AWS module was only working properly because the "normal server" is a transitive dependency of this module.

@@ -76,8 +75,6 @@ public void before() throws Exception {
new ServletContextHandler(ServletContextHandler.NO_SESSIONS);
servletContext.addServlet(
new ServletHolder(new RESTCatalogServlet(adapterForRESTServer)), "/*");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would probably keep the compression here and just make a special servlet just for the freshness test. Would it make sense to just override the setup for TestFreshnessAwareLoading specifically?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, yeah I think that's a good idea

Copy link
Copy Markdown
Member

@RussellSpitzer RussellSpitzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a few nits, but this looks good to me.

@nastra nastra force-pushed the jetty-switch-to-new-compression-api branch from d6399bf to 7dcaafb Compare April 11, 2026 01:07
@nastra
Copy link
Copy Markdown
Contributor Author

nastra commented Apr 11, 2026

I'll merge this since the failing Flink CI job is unrelated. Thanks for the reviews @manuzhang and @RussellSpitzer

@nastra nastra changed the title Build: Switch Jetty to use new Compression API for GZIP AWS, Core: Switch Jetty to use new Compression API for GZIP Apr 11, 2026
@nastra nastra merged commit 7e4aa89 into apache:main Apr 11, 2026
37 of 38 checks passed
@nastra nastra deleted the jetty-switch-to-new-compression-api branch April 11, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants