-
Notifications
You must be signed in to change notification settings - Fork 4.8k
[WIP] HIVE-29206: Remove commons-lang from hive-exec shaded jar #6079
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
base: master
Are you sure you want to change the base?
Conversation
@check-spelling-bot Report🔴 Please reviewSee the files view or the action log for details. Unrecognized words (6)calcualtion Previously acknowledged words that are now absentwwwTo accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands... in a clone of the [email protected]:KiranVelumuri/hive.git repository
If the flagged items do not appear to be textIf items relate to a ...
|
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.
To be sure we don't have/use commons-lang in the project we should add an enforcer rule.
366a6a8
to
77c52aa
Compare
@check-spelling-bot Report🔴 Please reviewSee the files view or the action log for details. Unrecognized words (6)calcualtion Previously acknowledged words that are now absentwwwTo accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands... in a clone of the [email protected]:KiranVelumuri/hive.git repository
If the flagged items do not appear to be textIf items relate to a ...
|
Added the enforcer rule. We already have a check-banned-imports in place for commons-lang. We do not have commons-lang anywhere in the project dependency tree and would not allow from now on. |
</goals> | ||
<configuration> | ||
<rules> | ||
<bannedDependencies> |
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.
why don't we reuse the root pom declarations?
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.
there's only junit-jupiter declared here which is different from those in root pom.
<exclude>com.google.code.findbugs:annotations</exclude> | ||
</excludes> | ||
</bannedDependencies> | ||
<bannedDependencies> |
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.
can we define this in root metastore pom.xml?
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.
@KiranVelumuri , please check #6054, I have handled the same in the PR but as its not merged, please sync the banned dependencies in parent pom and standalone-metastore pom. I discovered that commons-logging was still getting shipped. So, IMO, its better to same set of banned dependencies across project.
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.
I defined enforcer-plugin in root metastore pom.xml for now. Yes, I too feel that it's better to maintain the same set across parent pom and metastore pom.
77c52aa
to
2ffbf90
Compare
@check-spelling-bot Report🔴 Please reviewSee the files view or the action log for details. Unrecognized words (6)calcualtion Previously acknowledged words that are now absentwwwTo accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands... in a clone of the [email protected]:KiranVelumuri/hive.git repository
If the flagged items do not appear to be textIf items relate to a ...
|
2ffbf90
to
36384a7
Compare
36384a7
to
e8256f9
Compare
e8256f9
to
6054b16
Compare
|
What changes were proposed in this pull request?
HIVE-29206
Why are the changes needed?
To completely remove commons-lang
Does this PR introduce any user-facing change?
No
How was this patch tested?
jar -tvf