-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Rev: HADOOP-18178 & HADOOP-18033 to Fix Class conflicts in downstreams #4544
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
Conversation
…to 2.13.2.2 (apache#4111)" This reverts commit 4b786c7.
This reverts commit 53edd0d.
|
There have been public releases of Hadoop with the jackson upgrades - eg https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common/3.3.3 Is there anything that can be done in the downstream projects to try to fix their builds to use the up to date and CVE free Jackson version used in Hadoop v3.3.3? |
|
@pjfanning Yes, that CVE fixed in a released version is a problem. But downstream projects don't have an option I think. There are two dependencies coming in and conflicting, since they have same classes, Jersey upgrade can be a solution at Hadoop, but that also leads to incompatible changes(Our initial assumptions & past experiences). It leads to issues with Spark, Tez, Hive & kyuubi(apache/kyuubi#2904), The Tez jira and other details are also linked in HADOOP-18033. |
|
What I don't get is what has rs-api got to do with jackson? Any idea why HADOOP-18033 made the rs-api changes? |
|
The Tez issue is not really described - ie no comments on the PR or the jira issue. It looks like it could be a mockito issue - apache/tez#213 (comment) |
|
You checked the second-last build, It indeed was a Mockito issue, we discussed internally and upgraded mockito and that got sorted, Check the last build result, answered here:
There is a comment telling that, it is required: I guess may be a requirement for Jackson? I haven't checked if it was a false claim or mis-judgement, but I think some tests were failing due to this, the build results are gone, so I can't see what actually was the problem |
|
rs-api is not used by the main jackson jars but could be used by the jackson-jaxrs module In Tez build, would it be possible to exclude the rs-api jar? For apache/kyuubi#2904 would it be feasible to just concentrate on why org.apache.hadoop.yarn.util.timeline.TimelineUtils.(TimelineUtils.java:60) is trying to use a non-existent class? Could there be an issue in the hadoop build or could kyuubi be using hadoop jars that are mismatched version wise? |
|
💔 -1 overall
This message was automatically generated. |
|
@ayushtkn my PR failed (#4547) - it seems even jackson 2.12 causes issues - it looks like your PR is a better bet I would still ask for one change to your PR, if that's ok? The jackson versions could be set to 2.9.10 and jackson-databind to 2.9.10.8
If you are looking to use a new Jira issue for your change, feel free to use HADOOP-18332 and modify as you see fit. |
Reverting the original commits upgrading Jackson, Fixed the conflicts in revert.
LICENSE,LICENSE-binary,NOTICE-binaryfiles?