smengcl commented on a change in pull request #2389:
URL: https://github.com/apache/ozone/pull/2389#discussion_r668227618
##########
File path:
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/types/NSSummary.java
##########
@@ -20,51 +20,67 @@
import org.apache.hadoop.ozone.recon.ReconConstants;
+import java.util.ArrayList;
import java.util.Arrays;
+import java.util.List;
/**
* Class to encapsulate namespace metadata summaries from OM.
*/
public class NSSummary {
private int numOfFiles;
- private int sizeOfFiles;
+ private long sizeOfFiles;
private int[] fileSizeBucket;
+ private List<Long> childDir;
Review comment:
Just a note: If we are implementing
`appendToChildDir`/`removeFromChildDir`, maybe use `Set<>` here instead?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]