[
https://issues.apache.org/jira/browse/HDFS-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031785#comment-14031785
]
George Wong commented on HDFS-6535:
-----------------------------------
When appending a file, namenode does not update the disk consumption for the
last block in the file. So, the cached disk consumption is less than the actual
disk consumption.
I am going to format a patch later. I have a fixed in my local branch currently.
> HDFS quota update is wrong when file is appended
> ------------------------------------------------
>
> Key: HDFS-6535
> URL: https://issues.apache.org/jira/browse/HDFS-6535
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: 2.4.0
> Reporter: George Wong
> Attachments: TestHDFSQuota.java
>
>
> when a file in the directory with Quota feature is appended, the cached disk
> consumption should be updated.
> But currently, the update is wrong.
> Use the uploaded UT to reproduce this bug.
--
This message was sent by Atlassian JIRA
(v6.2#6252)