You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/10/13 18:22:12 UTC
[GitHub] [hadoop-ozone] adoroszlai opened a new pull request #8: HDDS-2267.
Container metadata scanner interval mismatch
adoroszlai opened a new pull request #8: HDDS-2267. Container metadata scanner interval mismatch
URL: https://github.com/apache/hadoop-ozone/pull/8
## What changes were proposed in this pull request?
Fix time unit mismatch in container metadata scanner. Elapsed time is measured in nanoseconds, needs to be converted to milliseconds.
https://issues.apache.org/jira/browse/HDDS-2267
## How was this patch tested?
Tested on `ozone` docker-compose cluster.
```
datanode_1 | 2019-10-09 06:18:00 INFO ContainerMetadataScanner:60 - Background ContainerMetadataScanner starting up
datanode_1 | 2019-10-09 06:18:00 INFO ContainerMetadataScanner:88 - Completed an iteration of container metadata scrubber in 0 minutes. Number of iterations (since the data-node restart) : 1, Number of containers scanned in this iteration : 0, Number of unhealthy containers found in this iteration : 0
datanode_1 | 2019-10-09 06:19:00 INFO ContainerMetadataScanner:88 - Completed an iteration of container metadata scrubber in 0 minutes. Number of iterations (since the data-node restart) : 2, Number of containers scanned in this iteration : 2, Number of unhealthy containers found in this iteration : 0
...
datanode_1 | STARTUP_MSG: Starting HddsDatanodeService
datanode_1 | 2019-10-09 06:23:52 INFO ContainerMetadataScanner:60 - Background ContainerMetadataScanner starting up
datanode_1 | 2019-10-09 06:23:52 INFO ContainerMetadataScanner:88 - Completed an iteration of container metadata scrubber in 0 minutes. Number of iterations (since the data-node restart) : 1, Number of containers scanned in this iteration : 2, Number of unhealthy containers found in this iteration : 0
datanode_1 | 2019-10-09 06:24:52 INFO ContainerMetadataScanner:88 - Completed an iteration of container metadata scrubber in 0 minutes. Number of iterations (since the data-node restart) : 2, Number of containers scanned in this iteration : 2, Number of unhealthy containers found in this iteration : 0
```
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org