SetSpaceQuota of value 9223372036854775807 does not apply quota. ----------------------------------------------------------------
Key: HDFS-846 URL: https://issues.apache.org/jira/browse/HDFS-846 Project: Hadoop HDFS Issue Type: Bug Affects Versions: 0.20.1 Reporter: Ravi Phulari Priority: Minor Fix For: 0.20.2, 0.21.0, 0.22.0 *hadoop dfsadmin -setSpaceQuota* can set maximum quota of value 9223372036854775807 and minimum 0. There is no error message or quota is not applied when user tries to setSpaceQuota of size 9223372036854775807. {noformat} [u...@ghost-host hadoop]$ hadoop dfsadmin -setSpaceQuota 9223372036854775807 / [u...@ghost-host hadoop]$ hadoop fs -count -q / 2147483647 2147483599 none inf 24 24 2019254 hdfs://ghost-nn.scary.land.com/ {noformat} We should warn user by showing error message that 9223372036854775807 is invalid value and quota will not be applied. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.