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

Cannot create space quota of zero

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.8.0, 3.0.0-alpha1
    • fs
    • None
    • Reviewed

    Description

      The `HDFS Quotas Guide` says

      A quota of zero still permits files to be created, but no blocks can be added to the files.
      

      But, this acutally is not so. When I tried, dfsadmin command failed with the below message.

      $ hdfs dfsadmin -setSpaceQuota 0 /user/alice/dirWithSpaceQuota
      setSpaceQuota: Invalid values for quota : 9223372036854775807 and 0
      

      Attachments

        1. HDFS-10242.1.patch
          3 kB
          Takashi Ohnishi

        Issue Links

          Activity

            People

              bwtakacy Takashi Ohnishi
              bwtakacy Takashi Ohnishi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: