-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-15760. Upgrade commons-collections to commons-collections4 #7097
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-15760. Upgrade commons-collections to commons-collections4 #7097
Conversation
Backports #7006 CC: @steveloughran |
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.
Added details on new changes added as part of backport
...roject/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests/pom.xml
Outdated
Show resolved
Hide resolved
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.
+1 pending a successful Yetus build.
so this PR fixes up the imports so that hbase 1.x exlusions are coped with. what if we cut hbase 1 from branch-3.4 first? |
There were no direct imports due to hbase 1.x, hence no code change was needed, hence I have only excluded common-collections from the affected hbase 1.x / hadoop2.x jars . Lets see how tests go through with this change.
In that case we could simply cherry-pick changes from trunk with no extra changes needed for handling common-collections transitively coming from hbase 1.x / hadoop 2.x |
💔 -1 overall
This message was automatically generated. |
Failures are related. Getting following:
Hadoop 2.8.4 uses common-collections:3.2.2 during runtime, so we cannot exclude it from hbase 1.7.x / hadoop 2.8.x dependecies. I think we have two options here:
|
merged #7017, so this patch gets easier |
This moves Hadoop to Apache commons-collections4. Apache commons-collections has been removed and is completely banned from the source code. Contributed by Nihal Jain
889a25e
to
46fb328
Compare
💔 -1 overall
This message was automatically generated. |
💔 -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.
+1
it's a direct cherrypick now; lower risk
LGTM +1. |
Thank you @steveloughran and @slfan1989 for your reviews. Please let me know if anything else is needed here. |
Thanks for merging, when will this be released? |
get on the hadoop common dev list and discuss, including offering all the help you can. Waiting for reviewer of the multiple RCs is critical here. even before we do an RC, building and testing it locally would find regressions in your deployments. Testing before a release is the only way to be confident that when we actually ship something will work there. |
This moves Hadoop to Apache commons-collections4.
Apache commons-collections has been removed and is completely banned from the source code.
Contributed by Nihal Jain
Description of PR
How was this patch tested?
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?