hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Wong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6535) HDFS quota update is wrong when file is appended
Date Sun, 15 Jun 2014 05:12:01 GMT

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

Mime
View raw message