You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sumit Agrawal (Jira)" <ji...@apache.org> on 2023/06/09 08:57:00 UTC

[jira] [Resolved] (HDDS-8373) setquota [Volume & Bucker level ] doesn't accepts decimals

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

Sumit Agrawal resolved HDDS-8373.
---------------------------------
    Resolution: Fixed

> setquota [Volume & Bucker level ] doesn't accepts decimals
> ----------------------------------------------------------
>
>                 Key: HDDS-8373
>                 URL: https://issues.apache.org/jira/browse/HDDS-8373
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Arun Sarin
>            Assignee: Arun Sarin
>            Priority: Minor
>              Labels: pull-request-available
>
> setquota on bucket & volume level doesn't accept accept the values in decimals . For ex : 1.5GB , 2.5 TB etc .
> Below is the output returned on running the command 
> {noformat}
> [root@quasar-tvqwpy-1 /]#  ozone sh bucket setquota  --space-quota 1.5GB /volume4/bucket4/
> Invalid values for quota, to ensure that the Quota format is legal(supported values are B, KB, MB, GB and TB). And the quota value cannot be greater than Long.MAX_VALUE BYTES{noformat}
> RCA :
> Only positive integers are supported for the quota values.
> We need to decide if this has to be a code change or has to be added in the documentation.



--
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