[ https://issues.apache.org/jira/browse/HDFS-4984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13709724#comment-13709724 ]
Hudson commented on HDFS-4984: ------------------------------ UNSTABLE: Integrated in Hadoop-Hdfs-0.23-Build #670 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/670/]) HDFS-4984. Incorrect Quota counting in INodeFile. Contributed by Jing Zhao. (kihwal: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1503397) * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeFile.java > Incorrect Quota counting in INodeFile > ------------------------------------- > > Key: HDFS-4984 > URL: https://issues.apache.org/jira/browse/HDFS-4984 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 0.23.9 > Reporter: Kihwal Lee > Assignee: Jing Zhao > Fix For: 0.23.10 > > Attachments: HDFS-4984.001.patch > > > INodeFile#diskspaceConsumed() checks the state of the file and use the full > block size for the last block if it is under construction. This is > incorrect, because a file can be under construction but the last block is > already finalized. It should check the status of the last block instead. > This issue was fixed in 2.1.0 when the snapshot feature was merged. A > subtask, HDFS-4503, consolidated several methods and as a result this bug > disappeared. > A separate fix is needed for 0.23. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira