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

quota errors messages should use the same scale

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.21.0
    • 0.23.0
    • None
    • Incompatible change, Reviewed
    • 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.

      Attachments

        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

            jimplush Jim Plush
            aw Allen Wittenauer
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: