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 "Xiaoqiao He (Jira)" <ji...@apache.org> on 2022/01/25 07:28: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 ]

Xiaoqiao He resolved HDFS-16428.
--------------------------------
    Fix Version/s: 3.4.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

Committed to trunk. Thanks [~lei w] for your contributions!

> 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.4.0
>
>         Attachments: example.txt
>
>          Time Spent: 2h 20m
>  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