bharatviswa504 opened a new pull request #649: [WIP]HDDS-3120. Freon work with OM HA. URL: https://github.com/apache/hadoop-ozone/pull/649 ## What changes were proposed in this pull request? Make Freon work with OM HA. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-3120 ## How was this patch tested? Tested it on ozone-om-ha-s3 docker-compose cluster. WIP to add tests will add tests in next commit. ``` bash-4.2$ ozone freon rk --om-service-id=id1 --numOfVolumes=1 --numOfBuckets=1 --numOfKeys=1 --numOfThreads=1 2020-03-06 20:46:21,267 [main] INFO impl.MetricsConfig: Loaded properties from hadoop-metrics2.properties 2020-03-06 20:46:21,529 [main] INFO impl.MetricsSystemImpl: Scheduled Metric snapshot period at 10 second(s). 2020-03-06 20:46:21,529 [main] INFO impl.MetricsSystemImpl: ozone-freon metrics system started 2020-03-06 20:46:23,391 [main] INFO freon.RandomKeyGenerator: Number of Threads: 1 2020-03-06 20:46:23,392 [main] INFO freon.RandomKeyGenerator: Number of Volumes: 1. 2020-03-06 20:46:23,392 [main] INFO freon.RandomKeyGenerator: Number of Buckets per Volume: 1. 2020-03-06 20:46:23,393 [main] INFO freon.RandomKeyGenerator: Number of Keys per Bucket: 1. 2020-03-06 20:46:23,393 [main] INFO freon.RandomKeyGenerator: Key size: 10240 bytes 2020-03-06 20:46:23,393 [main] INFO freon.RandomKeyGenerator: Buffer size: 4096 bytes 2020-03-06 20:46:23,394 [main] INFO freon.RandomKeyGenerator: validateWrites : false 2020-03-06 20:46:23,398 [main] INFO freon.RandomKeyGenerator: Starting progress bar Thread. 0.00% |? | 0/1 Time: 0:00:002020-03-06 20:46:23,466 [pool-2-thread-1] INFO rpc.RpcClient: Creating Volume: vol-0-45597, with hadoop as owner. 2020-03-06 20:46:23,533 [pool-2-thread-1] INFO rpc.RpcClient: Creating Bucket: vol-0-45597/bucket-0-56744, with Versioning false and Storage Type set to DISK and Encryption set to false 2020-03-06 20:46:24,103 [pool-2-thread-1] WARN impl.MetricsSystemImpl: ozone-freon metrics system already initialized! 100.00% |?????????????????????????????????????????????????????????????????????????????????????????????????????| 1/1 Time: 0:00:01 *************************************************** Status: Success Git Base Revision: e97acb3bd8f3befd27418996fa5d4b50bf2e17bf Number of Volumes created: 1 Number of Buckets created: 1 Number of Keys added: 1 Ratis replication factor: ONE Ratis replication type: STAND_ALONE Average Time spent in volume creation: 00:00:00,104 Average Time spent in bucket creation: 00:00:00,026 Average Time spent in key creation: 00:00:00,079 Average Time spent in key write: 00:00:00,735 Total bytes written: 10240 Total Execution time: 00:00:06,431 *************************************************** ```
---------------------------------------------------------------- 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]
