adoroszlai opened a new pull request #1329: URL: https://github.com/apache/hadoop-ozone/pull/1329
## What changes were proposed in this pull request? Override some methods only for statistics. [S3AFileSystem](https://github.com/apache/hadoop/blob/a6df05bf5e24d04852a35b096c44e79f843f4776/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java#L3003-L3054) also does so. https://issues.apache.org/jira/browse/HDDS-4077 ## How was this patch tested? Enabled DEBUG log for Ozone FS: ``` etc/hadoop/ozone-shell-log4j.properties 35:log4j.logger.org.apache.hadoop.fs.ozone=DEBUG etc/hadoop/log4j.properties 138:log4j.logger.org.apache.hadoop.fs.ozone=DEBUG ``` Ran `ozonefs.robot` and verified some previously missing operations are logged (for both OFS and O3FS). ``` 2020-08-12 12:42:38,057 [main] DEBUG ozone.OzoneFSStorageStatistics: op_glob_status += 1 -> 1 ... 2020-08-12 12:42:51,163 [main] DEBUG ozone.OzoneFSStorageStatistics: op_mkdirs += 1 -> 1 ... 2020-08-12 12:43:15,071 [main] DEBUG ozone.OzoneFSStorageStatistics: op_exists += 1 -> 1 ``` ---------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org