tanvipenumudy opened a new pull request, #5519: URL: https://github.com/apache/ozone/pull/5519
## What changes were proposed in this pull request? Address a [suggestion](https://github.com/apache/ozone/pull/5386#pullrequestreview-1658397256) shared on [HDDS-9374](https://issues.apache.org/jira/browse/HDDS-9374). RangeKeysGenerator freon tool should support objects creation >2GB. The key improvement proposed is the introduction of data units support for the '--size' parameter to be specified while using most ozone freon tools. Currently, users are required to specify sizes in bytes, which can be cumbersome. With this change, users will have the convenience of specifying object sizes using data units like `GB`, `MB`, `KB`, etc. For example, the current use case for creating an object with the size of `4GB` [`4294967296` bytes] would look like this (if no unit is specified, the default unit is bytes): ``` $ ozone freon ork -n 1 -t 1 --size 4294967296 -v voltest -b buckettest -p test ``` With the proposed enhancement, the same use case can be expressed more intuitively, like this: ``` $ ozone freon ork -n 1 -t 1 --size 4GB -v voltest -b buckettest -p test ``` ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-9393 ## How was this patch tested? Existing test cases should cover the change. -- 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]
