adoroszlai opened a new pull request #622: HDDS-3113. Add new Freon test for putBlock URL: https://github.com/apache/hadoop-ozone/pull/622 ## What changes were proposed in this pull request? Introduce a new Freon test that issues putBlock commands. https://issues.apache.org/jira/browse/HDDS-3113 ## How was this patch tested? Tested on local docker-compose cluster. ``` $ docker-compose exec -T om ozone freon ockg -t 1 -n 1 -p warmup $ docker-compose exec -T om ozone freon dbp -n 1024 -t 8 ... 2020-03-02 12:36:29,099 [main] INFO freon.DatanodeBlockPutter: Using pipeline PipelineID=41fba819-3073-422e-bfa0-da036d310e92 ... 2020-03-02 12:36:42,561 [Thread-6] INFO freon.ProgressBar: Progress: 100.00 % (1024 out of 1024) 2020-03-02 12:36:42,910 [Thread-5] INFO metrics: type=TIMER, name=put-block, count=1024, min=26.6439, max=1184.6844, mean=92.64706204930492, stddev=94.48254773470815, median=72.7171, p75=100.3739, p95=179.5964, p98=211.0414, p99=247.9218, p999=1163.4993, mean_rate=77.87775926643044, m1=70.68761803418782, m5=70.1421454971341, m15=70.0476453071579, rate_unit=events/second, duration_unit=milliseconds 2020-03-02 12:36:42,912 [Thread-5] INFO freon.BaseFreonGenerator: Total execution time (sec): 14 2020-03-02 12:36:42,912 [Thread-5] INFO freon.BaseFreonGenerator: Failures: 0 2020-03-02 12:36:42,912 [Thread-5] INFO freon.BaseFreonGenerator: Successful executions: 1024 $ docker-compose exec -T datanode bash -c 'ls -l /data/hdds/hdds/*/current/containerDir0/?/chunks' total 12 -rw-r--r-- 1 hadoop users 10240 Mar 2 12:36 103753487380447232_chunk_1 $ docker-compose exec -T om ozone scmcli container list { "state" : "OPEN", "replicationFactor" : "THREE", "replicationType" : "RATIS", "usedBytes" : 10240, "numberOfKeys" : 1025, "containerID" : 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
