Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-76

Namespace quota exceeded message unclear

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      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

      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

          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Raghu Angadi made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.21.0 [ 12314046 ]
          Resolution Fixed [ 1 ]
          Raghu Angadi made changes -
          Attachment HDFS-76.patch [ 12411441 ]
          Owen O'Malley made changes -
          Project Hadoop Common [ 12310240 ] HDFS [ 12310942 ]
          Key HADOOP-5862 HDFS-76
          Component/s dfs [ 12310710 ]
          Boris Shkolnik made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Boris Shkolnik made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Boris Shkolnik made changes -
          Attachment HADOOP-5862-1.patch [ 12411135 ]
          Raghu Angadi made changes -
          Link This issue incorporates HADOOP-5982 [ HADOOP-5982 ]
          Boris Shkolnik made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Boris Shkolnik made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Boris Shkolnik made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 0.18.0 [ 12312972 ]
          Fix Version/s 0.20.1 [ 12313866 ]
          Boris Shkolnik made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Boris Shkolnik made changes -
          Attachment HADOOP-5862.patch [ 12410042 ]
          Robert Chansler made changes -
          Fix Version/s 0.20.1 [ 12313866 ]
          Affects Version/s 0.18.0 [ 12312972 ]
          Component/s dfs [ 12310710 ]
          Boris Shkolnik made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Boris Shkolnik made changes -
          Attachment HADOOP-5862.patch [ 12409707 ]
          Boris Shkolnik made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Boris Shkolnik made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Boris Shkolnik made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Boris Shkolnik made changes -
          Attachment HADOOP-5862.patch [ 12409701 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue incorporates HADOOP-5872 [ HADOOP-5872 ]
          Boris Shkolnik made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Boris Shkolnik made changes -
          Attachment HADOOP-5862.patch [ 12409221 ]
          Boris Shkolnik made changes -
          Field Original Value New Value
          Assignee Boris Shkolnik [ boryas ]
          eric baldeschwieler created issue -

            People

            • Assignee:
              Boris Shkolnik
              Reporter:
              eric baldeschwieler
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development