Skip to content

AMBARI-26428: [addendum] bump the jetty version to 9.4.57 - #3975

Closed
basapuram-kumar wants to merge 2 commits into
apache:trunkfrom
basapuram-kumar:addendum-AMBARI-26428
Closed

basapuram-kumar wants to merge 2 commits into
apache:trunkfrom
basapuram-kumar:addendum-AMBARI-26428

Conversation

@basapuram-kumar

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR is addendum to AMABI-26428. Addresses this issue.

How was this patch tested?

Tested locally, able to pass the compilation with this jetty version bup to the latest in 9.4.x lines.

@arshadmohammad

Copy link
Copy Markdown
Contributor

can you change commit message to "AMBARI-26428: [addendum] bump the jetty version to 9.4.57"

@basapuram-kumar basapuram-kumar changed the title addendum-AMBARI-26428: bump the jetty version to 9.4.57 AMBARI-26428: [addendum] bump the jetty version to 9.4.57 Apr 10, 2025
@arshadmohammad

arshadmohammad commented Apr 10, 2025 •

Copy link
Copy Markdown
Contributor

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5:compile (default-compile) on project ambari-server: Compilation failure [ERROR] code/apache/forked/ambari-trunk/ambari-server/src/main/java/org/apache/ambari/server/api/AmbariViewErrorHandlerProxy.java:[60,32] unreported exception javax.servlet.ServletException; must be caught or declared to be thrown

@basapuram-kumar are you not building locally?

@basapuram-kumar

Copy link
Copy Markdown
Contributor Author

Compilation

Screenshot 2025-04-10 at 13 50 30

@basapuram-kumar

Copy link
Copy Markdown
Contributor Author

@arshadmohammad
Addressed the compilation issues, able to compile locally(Added the screenshot with the current changes).
Could you please review it.

@arshadmohammad

Copy link
Copy Markdown
Contributor

still it is failing
[INFO] Starting audit... [ERROR] /code/apache/forked/ambari-trunk/ambari-server/src/main/java/org/apache/ambari/server/api/AmbariViewErrorHandlerProxy.java:33: Wrong order for 'javax.servlet.ServletException' import. [ImportOrder]

@arshadmohammad

Copy link
Copy Markdown
Contributor

Resolving the CI issue is both necessary and urgent. Does anyone have any insights into why the CI for the trunk branch is failing?

@JiaLiangC @virajjasani

@basapuram-kumar

Copy link
Copy Markdown
Contributor Author

I am not hitting this issue. tried couple of attempts to verify the compilation, but no luck.

Screenshot 2025-04-10 at 14 55 07

Attached the compilation log here.
addednum-ambari-26428.log

@JiaLiangC

Copy link
Copy Markdown
Contributor

@basapuram-kumar @arshadmohammad This PR is redundant. Jetty has already been upgraded to version 11 in the spring6 branch, which will soon be merged into trunk.

@arshadmohammad

Copy link
Copy Markdown
Contributor

makes sense, then lets revert the change which caused compilation error

@basapuram-kumar

Copy link
Copy Markdown
Contributor Author

Yes @JiaLiangC , I see that, jetty moved to 11.0.24.

Lets revert it. thanks.

@arshadmohammad

Copy link
Copy Markdown
Contributor

revert done
#3976

@JiaLiangC

Copy link
Copy Markdown
Contributor

spring6 already merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants