Tanvi Penumudy created HDDS-9393:
------------------------------------
Summary: Introduce data unit support for objects creation in freon
Key: HDDS-9393
URL: https://issues.apache.org/jira/browse/HDDS-9393
Project: Apache Ozone
Issue Type: Improvement
Reporter: Tanvi Penumudy
Assignee: Tanvi Penumudy
Address a
[suggestion|https://github.com/apache/ozone/pull/5386#pullrequestreview-1658397256]
shared on 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:
{code:java}
$ ozone freon ork -n 1 -t 1 --size 4294967296 -v voltest -b buckettest -p test
{code}
With the proposed enhancement, the same use case can be expressed more
intuitively, like this:
{code:java}
$ ozone freon ork -n 1 -t 1 --size 4GB -v voltest -b buckettest -p test
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]