You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/12/13 00:24:00 UTC
[jira] [Updated] (HDFS-14984) HDFS setQuota: Error message should be added for invalid input max range value to hdfs dfsadmin -setQuota command
[ https://issues.apache.org/jira/browse/HDFS-14984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDFS-14984:
----------------------------------
Labels: pull-request-available (was: )
> HDFS setQuota: Error message should be added for invalid input max range value to hdfs dfsadmin -setQuota command
> -----------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-14984
> URL: https://issues.apache.org/jira/browse/HDFS-14984
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs
> Affects Versions: 3.1.2
> Reporter: Souryakanta Dwivedy
> Assignee: Zhao Yi Ming
> Priority: Minor
> Labels: pull-request-available
> Attachments: image-2019-11-13-14-05-19-603.png, image-2019-11-13-14-07-04-536.png
>
>
> An error message should be added for invalid input max range value "9223372036854775807" to hdfs dfsadmin -setQuota command
> * set quota for a directory with invalid input vlaue as "9223372036854775807"- set quota for a directory with invalid input vlaue as "9223372036854775807" the command will be successful without displaying any result.Quota value will not be set for the directory internally,but it will be better from user usage point of view if an error message will display for the invalid max range value "9223372036854775807" as it is displaying while setting the input value as "0" For example "hdfs dfsadmin -setQuota 9223372036854775807 /quota"
> !image-2019-11-13-14-05-19-603.png!
>
> * - Try to set quota for a directory with invalid input value as "0" It will throw an error message as "setQuota: Invalid values for quota : 0 and 9223372036854775807" For example "hdfs dfsadmin -setQuota 0 /quota"
> !image-2019-11-13-14-07-04-536.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org