-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix][admin] Add javax.xml.bind:jaxb-api to shade #20106
Conversation
c94f3f0
to
8d65b1a
Compare
/pulsarbot rerun-failure-checks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Is there test coverage for a case where the admin API
I am concerned that shading the Thanks |
I believe the current relocation is too aggressive as it attempts to relocate JDK classes ( I got further by tightening the shading to
instead of
and for relocation:
instead of
The warnings now go away in the app log and the call does not timeout. @nodece Can you adjust the shading as described above? Thanks |
8d65b1a
to
0eeab81
Compare
Hi @onobc, thank you for your research! This PR has been updated. |
Test failure can be related:
|
/pulsarbot rerun-failure-checks |
Signed-off-by: nodece <nodeces@gmail.com>
0eeab81
to
c30cb73
Compare
@merlimat we are normally in code freeze for 3.0. Do we do an exception for this one ? |
FWIW - this change is one that is required for Spring Pulsar to get it's auto-configuration moved into Spring Boot (3.2) project. Thanks. |
@cbornet Yes, this a very safe and understood change, that would not add more risk to the RC-2. |
Signed-off-by: nodece <nodeces@gmail.com>
Cherry-picked to branch-3.0 |
I don't see this one in the 3.0.0 Release notes but I do see the changes in the branch-3.0. Really I just want to make sure the fix is in 3.0.0 and there is not something else I am missing. Thanks |
cc @RobertIndie perhaps you can investigate why the release note is unsync? |
The release note is collected by filtering the label like It's hard for the release manager to collect and classify all the unlabeled PRs. I encourage we should label all the PRs correctly before merging the PR. |
Cross-reference - apache/flink-connector-pulsar#54 This include a new dependency rejected by Flink's LicenseChecker, while it should be a false positive. |
Fixes #19856
Motivation
javax.xml.bind:jaxb-api
didn't package into the shade package.Add a context, why add
javax.xml.bind:jaxb-api
to the admin module, see https://www.jesperdj.com/2018/09/30/jaxb-on-java-9-10-11-and-beyond/Modifications
Add
javax.xml.bind:jaxb-api
topulsar-client-admin-shaded/pom.xml
.Documentation
doc
doc-required
doc-not-needed
doc-complete