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 "Ravi Phulari (JIRA)" <ji...@apache.org> on 2009/12/21 21:35:18 UTC

[jira] Created: (HDFS-846) SetSpaceQuota of value 9223372036854775807 does not apply quota.

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} 
[user@ghost-host hadoop]$ hadoop dfsadmin -setSpaceQuota 9223372036854775807 /
[user@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.