-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-10540. Replace GSON with Jackson in nssummary. #6400
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
adoroszlai
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.
Thanks @ArafatKhan2198 for splitting this from #6147.
.../integration-test/src/test/java/org/apache/hadoop/ozone/recon/TestReconWithOzoneManager.java
Outdated
Show resolved
Hide resolved
devmadhuu
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.
Thanks @ArafatKhan2198 for working on this patch, Overall LGTM. Just a minor suggestion. Pls check.
...p-ozone/tools/src/main/java/org/apache/hadoop/ozone/admin/nssummary/DiskUsageSubCommand.java
Outdated
Show resolved
Hide resolved
|
@ArafatKhan2198 there are checkstyle failures (please do check it before asking for review) |
Yes they are fixed! |
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/server/JsonUtils.java
Outdated
Show resolved
Hide resolved
|
Thanks @ArafatKhan2198 for updating the patch. @devmadhuu please take another look |
devmadhuu
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.
Thanks @ArafatKhan2198 for updating the patch. Few comments. Pls check.
...p-ozone/tools/src/main/java/org/apache/hadoop/ozone/admin/nssummary/DiskUsageSubCommand.java
Show resolved
Hide resolved
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/admin/nssummary/NSSummaryCLIUtils.java
Outdated
Show resolved
Hide resolved
|
Thanks @ArafatKhan2198 for the patch, @devmadhuu for the review. |
(cherry picked from commit 1ceec5c)
What changes were proposed in this pull request?
This update addresses compatibility concerns with Java 17 by transitioning from GSON to Jackson in the
NSSummarycode. This change simplifies dependencies and ensures smooth operation across different Java versions.Parent Jira Issue: HDDS-10538
This patch streamlines our Subcommands Implementation.
Affected NSSummary-Subcommands Classes:
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10540
How was this patch tested?
The existing UT's passed successfully.
And the forked CI passed successfully as well.