You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Souryakanta Dwivedy (Jira)" <ji...@apache.org> on 2019/11/13 08:39:00 UTC

[jira] [Created] (HDFS-14984) HDFS setQuota: Error message should be added for invalid input max range value to hdfs dfsadmin -setQuota command

Souryakanta Dwivedy created HDFS-14984:
------------------------------------------

             Summary: 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
         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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org