-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-18687. hadoop-auth: remove unnecessary dependency on json-smart #5524
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
|
I did not remove the entry from pom.xml in hadoop-project because it also sets the version for json-smart that is included as a transitive dependency in hdfs: |
|
💔 -1 overall
This message was automatically generated. |
steveloughran
left a comment
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
LGTM. any hdfs test dependency shouldn't affect anything in production, and the way maven works, probably won't go downstream
|
well spotted -thanks! merged to trunk. can you make a PR for branch-3.3 and submit it through yetus as well, to see how it goes. thanks |
|
ooh, had a thought here. I wonder if it makes it into the binary distro now, it if doesn't, we should review those LICENSE files and cut the reference. |
|
json-smart has a CVE - would it be possible to upgrade com.jayway.jsonpath/json-path to the latest version (which also uses the latest version of json-smart - that is CVE free)? |
|
so what artifacts do we need to pull in to be free of json-smart pain? |
|
json-path lib needs json-smart but if we upgrade the json-path lib, we could theoretically remove the explicit json-smart dependency. I could do a PR as a POC. |
apache#5524) Contributed by Michiel de Jong
Contains * HADOOP-18687. hadoop-auth: remove unnecessary dependency on json-smart (#5524) Contributed by Michiel de Jong * HADOOP-18687. Remove json-smart dependency. (#5549). Contributed by PJ Fanning.
apache#5524) Contributed by Michiel de Jong
Description of PR
https://issues.apache.org/jira/browse/HADOOP-18687
json-smart is not used by hadoop-auth and the reason for including it (for nimbus-jose-jwt) is no longer valid since that package has json-smart shaded now.
How was this patch tested?
I ran the tests for hadoop-auth
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?