You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "George Wong (JIRA)" <ji...@apache.org> on 2014/06/15 07:12:01 UTC

[jira] [Commented] (HDFS-6535) HDFS quota update is wrong when file is appended

    [ 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)