[ https://issues.apache.org/jira/browse/HDDS-2238?focusedWorklogId=324610&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-324610 ]
ASF GitHub Bot logged work on HDDS-2238: ---------------------------------------- Author: ASF GitHub Bot Created on: 07/Oct/19 21:05 Start Date: 07/Oct/19 21:05 Worklog Time Spent: 10m Work Description: anuengineer commented on issue #1590: HDDS-2238. Container Data Scrubber spams log in empty cluster URL: https://github.com/apache/hadoop/pull/1590#issuecomment-539204102 Thank you for the contribution. I have committed this change to the trunk branch. ---------------------------------------------------------------- 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: 324610) Time Spent: 1h 40m (was: 1.5h) > Container Data Scrubber spams log in empty cluster > -------------------------------------------------- > > Key: HDDS-2238 > URL: https://issues.apache.org/jira/browse/HDDS-2238 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Components: Ozone Datanode > Affects Versions: 0.5.0 > Reporter: Attila Doroszlai > Assignee: Attila Doroszlai > Priority: Major > Labels: pull-request-available > Time Spent: 1h 40m > Remaining Estimate: 0h > > In an empty cluster (without closed containers) logs are filled with messages > from completed data scrubber iterations (~3600 per second for me), if > Container Scanner is enabled ({{hdds.containerscrub.enabled=true}}), eg.: > {noformat} > datanode_1 | 2019-10-03 15:43:57 INFO ContainerDataScanner:114 - Completed > an iteration of container data scrubber in 0 minutes. Number of iterations > (since the data-node restart) : 6763, Number of containers scanned in this > iteration : 0, Number of unhealthy containers found in this iteration : 0 > {noformat} > Also CPU usage is quite high. > I think: > # there should be a small sleep between iterations > # it should log only if any containers were scanned -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org