You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/11/21 10:00:00 UTC

[jira] [Updated] (HDDS-9393) Introduce data unit support for objects creation in freon

     [ https://issues.apache.org/jira/browse/HDDS-9393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai updated HDDS-9393:
-----------------------------------
    Component/s: freon

> 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
>          Components: freon
>            Reporter: Tanvi Penumudy
>            Assignee: Tanvi Penumudy
>            Priority: Minor
>              Labels: pull-request-available
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org