[jira] [Updated] (HDFS-1723) quota errors messages should use the same scale

2011-06-26 Thread Jim Plush (JIRA)

 [ 
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-take3.txt

refactoring based on Aaron's comments regarding removing the 
NSQuotaExceededException from the patch as it's not required for the fix.

 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, 
 HDFS-1723-take3.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




[jira] [Updated] (HDFS-1723) quota errors messages should use the same scale

2011-06-24 Thread Jim Plush (JIRA)

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

Jim Plush updated HDFS-1723:


Fix Version/s: 0.23.0
Affects Version/s: 0.21.0
 Release Note: Updated the Quota exceptions to now use human readable 
output.
   Status: Patch Available  (was: Open)

 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


 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




[jira] [Updated] (HDFS-1723) quota errors messages should use the same scale

2011-06-24 Thread Jim Plush (JIRA)

 [ 
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-take1.txt

Updated NSQuotaExceededException and DSQuotaExceededException to use human 
readable output values. Also added a new test to the TestQuota.java file to 
test for the new human readable values.

 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


 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




[jira] [Updated] (HDFS-1723) quota errors messages should use the same scale

2011-06-24 Thread Jim Plush (JIRA)

 [ 
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




[jira] [Updated] (HDFS-1723) quota errors messages should use the same scale

2011-06-22 Thread Aaron T. Myers (JIRA)

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

Aaron T. Myers updated HDFS-1723:
-

Labels: newbie  (was: )

 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
Reporter: Allen Wittenauer
Priority: Minor
  Labels: newbie

 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