[ 
https://issues.apache.org/jira/browse/HDFS-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jim Plush updated HDFS-1723:
----------------------------

    Attachment: HDFS-1723-take2.txt

looks like there was a hard coded check in the testHDFSConf.xml file that 
looked for the actual integer for quota. I updated this xml file to look for 
the human readable numbers instead. The test was also updated to account for 
having a path in the error message.

> quota errors messages should use the same scale
> -----------------------------------------------
>
>                 Key: HDFS-1723
>                 URL: https://issues.apache.org/jira/browse/HDFS-1723
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.21.0
>            Reporter: Allen Wittenauer
>            Assignee: Jim Plush
>            Priority: Minor
>              Labels: newbie
>             Fix For: 0.23.0
>
>         Attachments: HDFS-1723-take1.txt, HDFS-1723-take2.txt
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to