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
HADOOP-18332: remove rs-api dependency as it conflicts with jsr311-api #4547
Conversation
@pjfanning could you please create PR against branch-3.3 in parallel? I think this would be more beneficial to branch-3.3 than trunk. On HADOOP-18033, it's still being discussed if we should only consider branch-3.3 for this PR because HADOOP-15984 anyways requires javax.ws.rs-api (and hence, Jackson 2.13). |
@virajjasani I created #4552 for the 3.3 branch |
💔 -1 overall
This message was automatically generated. |
Closing in favour of #4544 |
💔 -1 overall
This message was automatically generated. |
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.
@pjfanning guess you missed removing some changes, need to remove the excludes:
https://github.com/apache/hadoop/pull/4544/files#diff-f07b301991f3fb8edf3704aeb176293c329211e8f1283ced2d778b40db1f75beL707
and
@ayushtkn I had those changes ready to commit before I closed this PR - I've merged them now - we'll see how this build goes |
Nothing major changing so the build should stay clean. |
If the build comes clean, on a quick look I am +1 on this. Please give a check or let me know if someone intends to do so and needs time, I will hold this further |
💔 -1 overall
This message was automatically generated. |
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.
The failed tests passes locally
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.hadoop.yarn.server.router.rmadmin.TestRouterRMAdminService
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.583 s - in org.apache.hadoop.yarn.server.router.rmadmin.TestRouterRMAdminService
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy
[INFO] Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.428 s - in org.apache.hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 30, Failures: 0, Errors: 0, Skipped: 0
[INFO]
Changes LGTM
💔 -1 overall
This message was automatically generated. |
apache#4547) This downgrades jackson from the version switched to in HADOOP-18033 (2.13.0), to Jackson 2.12.7. This removes the dependency on javax.ws.rs-api, so avoiding runtime problems with applications using jersey-core v1 and/or jsr311-api. The 2.12.7 release still contains the fix for CVE-2020-36518. Contributed by PJ Fanning
Description of PR
Relates to https://issues.apache.org/jira/browse/HADOOP-18332 - rs-api jar seems to cause conflicts with jsr311-api jar (latter is needed by jersey-core 1.19)
How was this patch tested?
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?