Skip to content

HDDS-3502. Remove dependence on commons-lang #888

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

Merged
merged 1 commit into from
May 1, 2020

Conversation

adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Few parts of Ozone still use commons-lang, while most are already on commons-lang3. This change proposes to update those remaining usages and remove the unnecessary dependency.

https://issues.apache.org/jira/browse/HDDS-3502

How was this patch tested?

https://github.com/adoroszlai/hadoop-ozone/runs/633284638

@adoroszlai adoroszlai self-assigned this Apr 30, 2020
Copy link
Contributor

@vivekratnavel vivekratnavel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adoroszlai Thanks for working on this! The change looks good to me. Should we also update the License Notice - https://github.com/apache/hadoop-ozone/blob/master/hadoop-ozone/dist/src/main/license/bin/NOTICE.txt#L269 ?

@adoroszlai
Copy link
Contributor Author

Should we also update the License Notice - https://github.com/apache/hadoop-ozone/blob/master/hadoop-ozone/dist/src/main/license/bin/NOTICE.txt#L269 ?

Thanks for asking, I was not aware of this.

I don't think we need to update the notice. We still use this library, but only v3 instead of both v2 and v3.

Copy link
Contributor

@vivekratnavel vivekratnavel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM

@vivekratnavel vivekratnavel merged commit 7f66b06 into apache:master May 1, 2020
@vivekratnavel
Copy link
Contributor

@adoroszlai Thanks for working on this!

@adoroszlai
Copy link
Contributor Author

Thanks @vivekratnavel for reviewing and merging it.

@adoroszlai adoroszlai deleted the HDDS-3502 branch May 1, 2020 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants