Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1723

quota errors messages should use the same scale

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Updated the Quota exceptions to now use human readable output.

      Description

      A typical error message looks like this:

      org.apache.hadoop.hdfs.protocol.DSQuotaExceededException: org.apache.hadoop.hdfs.protocol.DSQuotaExceededException: The DiskSpace quota of /dir is exceeded: quota=3298534883328 diskspace consumed=5246.0g

      Since the two values are in difference scales and one is replicated vs. not replicated (I think), this isn't very easy for the user to understand.

      1. HDFS-1723-take1.txt
        3 kB
        Jim Plush
      2. HDFS-1723-take2.txt
        4 kB
        Jim Plush
      3. HDFS-1723-take3.txt
        3 kB
        Jim Plush
      4. HDFS-1723-take4.txt
        3 kB
        Jim Plush

        Activity

          People

          • Assignee:
            Jim Plush
            Reporter:
            Allen Wittenauer
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development