-
Notifications
You must be signed in to change notification settings - Fork 145
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
[551] Create separate LICENSE and NOTICE files for xtable-hudi-support-extensions #572
Conversation
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.
Overall the changes look reasonable. I added a few suggestions for improvements. Apart from that I didn't verify the content of the jar file to see if the LICENSE info is complete. I will try to do that once all the other comments are addressed.
xtable-hudi-support/xtable-hudi-support-extensions/src/main/resources/META-INF/LICENSE
Outdated
Show resolved
Hide resolved
xtable-hudi-support/xtable-hudi-support-extensions/src/main/resources/META-INF/LICENSE
Show resolved
Hide resolved
xtable-hudi-support/xtable-hudi-support-extensions/src/main/resources/META-INF/LICENSE
Outdated
Show resolved
Hide resolved
xtable-hudi-support/xtable-hudi-support-extensions/src/main/resources/META-INF/LICENSE
Outdated
Show resolved
Hide resolved
xtable-hudi-support/xtable-hudi-support-extensions/src/main/resources/META-INF/NOTICE
Outdated
Show resolved
Hide resolved
Thanks for the feedback @zabetak, addressed comments. You can refer the google sheet as well for checking licenses for transitive dependencies in the bundled jar in this section, but yeah you can do your independent check as well for the presence of non ASF compliant classes. |
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 checked the contents of the xtable-hudi-support-extensions_2.12-0.2.0-SNAPSHOT-bundled.jar and there are some small issues:
- There are two LICENSE and multiple NOTICE files inside the jar
jar tf xtable-hudi-support-extensions_2.12-0.2.0-SNAPSHOT-bundled.jar | grep -i NOTICE
META-INF/NOTICE
NOTICE
NOTICE.txt
There should be only one and it should be under META-INF inside the jar; the extraneous NOTICE files may need to be merged or removed.
- Found some javax classes inside the jar that seem to be under CDDL + GPLv2 with classpath exception; they should either be removed or mentioned in the LICENSE file.
Appreciate the patience on this @zabetak, have addressed the issues you pointed out.
|
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 are still two LICENSE files inside the jar:
LICENSE
META-INF/LICENSE
We should keep only the one under the META-INF directory.
@zabetak Updated, my bad didn't notice LICENSE file when re-ordering the transformers for maven shade.
|
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.
LGTM! Many thanks for your efforts Vinish and apologies for the multiple review rounds.
Appreciate your patience and reviews as well to get LICENSE and NOTICE related work in good shape. |
389cb15
to
2dc9275
Compare
Squash into a single commit. |
Important Read
What is the purpose of the pull request
The bundled jar in xtable-hudi-support-extensions needs a different version of LICENSE and NOTICE file as it bundles MIT and BSD-3 license dependencies. Excluded hudi-common's transitive dependencies (hbase, hadoop etc.) from xtable-core by making it as provided to avoid the following non ASF compliant dependencies in the class path. Refer xtable-hudi-support-extensions tab in the sheet.
Brief change log
(for example:)
Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
Verified changes locally by building jar.