[
https://issues.apache.org/jira/browse/HDDS-9278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17764695#comment-17764695
]
Jyotirmoy Sinha commented on HDDS-9278:
---------------------------------------
Similar behaviour is observed when the input param is a decimal value -
{code:java}
[root@vc0101 ~]# ozone sh bucket create vol1/buck6 --namespace-quota 1.5
For input string: "1.5" {code}
> [Quota] Incorrect error message thrown when text is supplied as a parameter
> for namespace-quota
> -----------------------------------------------------------------------------------------------
>
> Key: HDDS-9278
> URL: https://issues.apache.org/jira/browse/HDDS-9278
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone CLI
> Reporter: Jyotirmoy Sinha
> Priority: Major
>
> Incorrect error message thrown when text is supplied as a parameter for
> namespace-quota
> {code:java}
> [root@vc0101 ~]# ozone sh bucket create vol1/buck5 --namespace-quota test
> For input string: "test"
> [root@vc0101 ~]# ozone sh volume create vol2 --namespace-quota test
> For input string: "test"
> [root@vc0101 ~]# ozone sh bucket setquota vol1/buck1 --namespace-quota test
> For input string: "test"
> [root@vc0101 ~]# ozone sh volume setquota vol1 --namespace-quota test
> For input string: "test" {code}
> The output thrown is _"For input string: <stringparam>",_ which does not
> display the correct error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]