You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2022/04/18 14:13:00 UTC
[jira] [Resolved] (HDFS-16428) Source path with storagePolicy cause wrong typeConsumed while rename
[ https://issues.apache.org/jira/browse/HDFS-16428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Loughran resolved HDFS-16428.
-----------------------------------
Fix Version/s: 3.3.3
(was: 3.4.0)
(was: 3.3.4)
Resolution: Fixed
FIxed in 3.3.3; updating fix versions as appropriate
> Source path with storagePolicy cause wrong typeConsumed while rename
> --------------------------------------------------------------------
>
> Key: HDFS-16428
> URL: https://issues.apache.org/jira/browse/HDFS-16428
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs, namenode
> Reporter: lei w
> Assignee: lei w
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.3.3, 3.2.3
>
> Attachments: example.txt
>
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> When compute quota in rename operation , we use storage policy of the target directory to compute src quota usage. This will cause wrong value of typeConsumed when source path was setted storage policy. I provided a unit test to present this situation.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org