hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9360) Storage type usage isn't updated properly after file deletion
Date Thu, 05 Nov 2015 12:22:27 GMT

    [ https://issues.apache.org/jira/browse/HDFS-9360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991599#comment-14991599
] 

Hudson commented on HDFS-9360:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #629 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/629/])
HDFS-9360. Storage type usage isn't updated properly after file (xyao: rev ea5bb483269b51a349c358b71f84904c76693a66)
* 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
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


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

Mime
View raw message