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

Namespace quota exceeded message unclear

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • None
    • None

    Description

      We seem to return one generic message when either a namespace or diskspace quota is exceeded. We should be clearer. The error should state which quota is exceeded and only report statistics on the exceeded quota.

      Further namespace quota is probably not clear to most users. We should probably have explanatory text such as: "you have exceeded the maximum allowed number of files". Maybe we should even rename the quota to number of files quota?

      Finally, the error below would be clearer if it read:

      Quota exceeded for directory '/user/ciyaliao'.

      By not using the word "directory" it is not clear in this case if the issue is with a user or a directory.

      ------ AN EXAMPLE -----
      > Hi,
      >
      > I encountered an error:
      >
      > put: org.apache.hadoop.hdfs.protocol.QuotaExceededException: The quota of
      > /user/x is exceeded: namespace quota=200000 file count=200001,
      > diskspace quota=-1 diskspace=-44221467605496
      >
      > It apparently complains that dfs quota is exceeded. But I only use around
      > 200GB disk space. From the error message, what kind of quota did I actually
      > exceed? How do I check my usage of this type of quota?
      >
      > Thanks,
      > x

      Attachments

        1. HADOOP-5862.patch
          21 kB
          Boris Shkolnik
        2. HADOOP-5862.patch
          21 kB
          Boris Shkolnik
        3. HADOOP-5862.patch
          19 kB
          Boris Shkolnik
        4. HADOOP-5862.patch
          17 kB
          Boris Shkolnik
        5. HADOOP-5862-1.patch
          21 kB
          Boris Shkolnik
        6. HDFS-76.patch
          21 kB
          Raghu Angadi

        Issue Links

          Activity

            People

              boryas Boris Shkolnik
              eric14 Eric Baldeschwieler
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: