[
https://issues.apache.org/jira/browse/HDFS-9360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991635#comment-14991635
]
Hudson commented on HDFS-9360:
------------------------------
FAILURE: Integrated in Hadoop-Mapreduce-trunk #2570 (See
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2570/])
HDFS-9360. Storage type usage isn't updated properly after file (xyao: rev
ea5bb483269b51a349c358b71f84904c76693a66)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeFile.java
*
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestQuota.java
> Storage type usage isn't updated properly after file deletion
> -------------------------------------------------------------
>
> Key: HDFS-9360
> URL: https://issues.apache.org/jira/browse/HDFS-9360
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Ming Ma
> Assignee: Ming Ma
> Fix For: 2.8.0
>
> Attachments: HDFS-9360-2.patch, HDFS-9360.patch
>
>
> For a directory that doesn't have any storage policy defined, its storage
> quota usage is deducted when a file is deleted (addBlock skips storage quota
> usage update in such case). This means negative value for storage quota
> usage. Later after applications set the storage policy and storage type
> quota, it allows the applications to use more than its storage type quota.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)