Skip to content

Conversation

@ArafatKhan2198
Copy link
Contributor

What changes were proposed in this pull request?

This update addresses compatibility concerns with Java 17 by transitioning from GSON to Jackson in the NSSummary code. 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:

- FileSizeDistSubCommand.java
- DiskUsageSubCommand.java
- NSSummaryCLIUtils.java
- QuotaUsageSubCommand.java
- SummarySubCommand.java
- TestReconWithOzoneManager.java

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.

Copy link
Contributor

@adoroszlai adoroszlai left a 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.

@adoroszlai adoroszlai requested a review from devmadhuu March 20, 2024 09:17
Copy link
Contributor

@devmadhuu devmadhuu left a 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.

@adoroszlai
Copy link
Contributor

@ArafatKhan2198 there are checkstyle failures (please do check it before asking for review)

https://github.com/ArafatKhan2198/ozone/actions/runs/8372652157/job/22924061602

@ArafatKhan2198
Copy link
Contributor Author

@ArafatKhan2198 there are checkstyle failures (please do check it before asking for review)

https://github.com/ArafatKhan2198/ozone/actions/runs/8372652157/job/22924061602

Yes they are fixed!
Thanks!

@adoroszlai
Copy link
Contributor

Thanks @ArafatKhan2198 for updating the patch.

@devmadhuu please take another look

Copy link
Contributor

@devmadhuu devmadhuu left a 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.

@adoroszlai adoroszlai merged commit 1ceec5c into apache:master Mar 24, 2024
@adoroszlai
Copy link
Contributor

Thanks @ArafatKhan2198 for the patch, @devmadhuu for the review.

smitajoshi12 pushed a commit to smitajoshi12/ozone that referenced this pull request Mar 27, 2024
jojochuang pushed a commit to jojochuang/ozone that referenced this pull request May 29, 2024
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.

3 participants