Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-846

SetSpaceQuota of value 9223372036854775807 does not apply quota.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.20.1
    • None
    • None
    • None

    Description

      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.

       
      [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/
      

      We should warn user by showing error message that 9223372036854775807 is invalid value and quota will not be applied.

      Attachments

        Activity

          People

            Unassigned Unassigned
            raviphulari Ravi Phulari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: