jianghuazhu opened a new pull request, #7246:
URL: https://github.com/apache/ozone/pull/7246

   ## What changes were proposed in this pull request?
   When running freon, some errors will occur if -duration and -n are set at 
the same time. The purpose of this PR is to try to fix it.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-11494
   
   ## How was this patch tested?
   ci: https://github.com/jianghuazhu/ozone/actions/runs/11085251713
   There should be no errors when testing freon.
   `
   ./bin/ozone freon ombg -v test3 -n 5 --duration 1m
   `
   Result:
   ```
   SLF4J(W): Class path contains multiple SLF4J providers.
   SLF4J(W): Found provider 
[org.slf4j.reload4j.Reload4jServiceProvider@5c0369c4]
   SLF4J(W): Found provider [org.slf4j.simple.SimpleServiceProvider@2be94b0f]
   SLF4J(W): See https://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
   SLF4J(I): Actual provider is of type 
[org.slf4j.reload4j.Reload4jServiceProvider@5c0369c4]
   2024-09-28 23:54:35,812 [main] INFO impl.MetricsConfig: Loaded properties 
from hadoop-metrics2.properties
   2024-09-28 23:54:35,886 [main] INFO impl.MetricsSystemImpl: Scheduled Metric 
snapshot period at 10 second(s).
   2024-09-28 23:54:35,886 [main] INFO impl.MetricsSystemImpl: ozone-freon 
metrics system started
   2024-09-28 23:54:35,954 [main] INFO freon.BaseFreonGenerator: Executing test 
with prefix zpwgnyqlzm and number-of-tests 5
   
    3.33% |████                                                                 
                                |  2/60 Time: 0:00:02|  
   9/28/24 11:54:38 PM 
============================================================
   
   -- Timers 
----------------------------------------------------------------------
   bucket-create
                count = 5
            mean rate = 7.15 calls/second
        1-minute rate = 0.00 calls/second
        5-minute rate = 0.00 calls/second
       15-minute rate = 0.00 calls/second
                  min = 11.53 milliseconds
                  max = 14.47 milliseconds
                 mean = 13.76 milliseconds
               stddev = 1.12 milliseconds
               median = 14.29 milliseconds
                 75% <= 14.31 milliseconds
                 95% <= 14.47 milliseconds
                 98% <= 14.47 milliseconds
                 99% <= 14.47 milliseconds
               99.9% <= 14.47 milliseconds
   
   
   Total execution time (sec): 2
   Failures: 0
   Successful executions: 5
   ```
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to