[
https://issues.apache.org/jira/browse/HDFS-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14036000#comment-14036000
]
Jing Zhao commented on HDFS-6535:
---------------------------------
Hi [~GWong], thanks for working on this. This is actually a bug from HDFS-6423.
Your patch looks good to me. The only comment is that maybe we can move all the
new unit tests into TestDiskspaceQuotaUpdate.java, where we should also change
the number of DN and the replication factor to some number greater than 1.
> 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: HDFS-6535.patch, 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)