[
https://issues.apache.org/jira/browse/HDDS-8373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-8373:
---------------------------------
Labels: pull-request-available (was: )
> 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: [email protected]
For additional commands, e-mail: [email protected]