You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Renukaprasad C (Jira)" <ji...@apache.org> on 2022/03/02 07:18:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17499930#comment-17499930 ] 

Renukaprasad C commented on HDFS-16428:
---------------------------------------

[~lei w] Thanks for your contribution.

[~hexiaoqiao]  Thanks for the review, same can be merged to other branches as well right?

> 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: 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org