adoroszlai opened a new pull request #1624: HDDS-2267. Container metadata 
scanner interval mismatch
URL: https://github.com/apache/hadoop/pull/1624
 
 
   ## 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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to