[ https://issues.apache.org/jira/browse/HDDS-1366?focusedWorklogId=290869&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-290869 ]
ASF GitHub Bot logged work on HDDS-1366: ---------------------------------------- Author: ASF GitHub Bot Created on: 07/Aug/19 23:22 Start Date: 07/Aug/19 23:22 Worklog Time Spent: 10m Work Description: vivekratnavel commented on pull request #1146: HDDS-1366. Add ability in Recon to track the number of small files in an Ozone Cluster URL: https://github.com/apache/hadoop/pull/1146#discussion_r311800232 ########## File path: hadoop-ozone/ozone-recon/src/main/java/org/apache/hadoop/ozone/recon/tasks/FileSizeCountTask.java ########## @@ -98,7 +99,9 @@ protected int getMaxBinSize() { keyIter = omKeyInfoTable.iterator()) { while (keyIter.hasNext()) { Table.KeyValue<String, OmKeyInfo> kv = keyIter.next(); - countFileSize(kv.getValue()); + + // reprocess() is a PUT operation on the DB. + updateUpperBoundCount(kv.getValue(), "PUT"); Review comment: nit: update this with enum `Operation.PUT` in the future. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 290869) Time Spent: 9h 40m (was: 9.5h) > Add ability in Recon to track the number of small files in an Ozone cluster. > ---------------------------------------------------------------------------- > > Key: HDDS-1366 > URL: https://issues.apache.org/jira/browse/HDDS-1366 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Components: Ozone Recon > Reporter: Aravindan Vijayan > Assignee: Shweta > Priority: Major > Labels: pull-request-available > Time Spent: 9h 40m > Remaining Estimate: 0h > > Ozone users may want to track the number of small files they have in their > cluster and where they are present. Recon can help them with the information > by iterating the OM Key Table and dividing the keys into different buckets > based on the data size. -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org