[
https://issues.apache.org/jira/browse/HDFS-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933275#action_12933275
]
Eli Collins commented on HDFS-1487:
-----------------------------------
I forgot to add that in my patch I pass true for checkQuota, since it should be
checked by default (not that it would necessarily fire here since we're
subtracting from the quota).
> FSDirectory.removeBlock() should update diskspace count of the block owner
> node
> -------------------------------------------------------------------------------
>
> Key: HDFS-1487
> URL: https://issues.apache.org/jira/browse/HDFS-1487
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.1, 0.20.2, 0.21.0
> Reporter: Zhong Wang
> Fix For: 0.22.0
>
> Attachments: hdfs-1487-1.patch, HDFS-1487.patch, HDFS-1487.patch
>
>
> This bug leads a quota computation error. When calling abandonBlock(), the
> cached diskspace count of INodeDirectoryWithQuota is larger than the actual
> consumed space value.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.