[ 
https://issues.apache.org/jira/browse/HDFS-16428?focusedWorklogId=713171&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-713171
 ]

ASF GitHub Bot logged work on HDFS-16428:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Jan/22 03:02
            Start Date: 22/Jan/22 03:02
    Worklog Time Spent: 10m 
      Work Description: ThinkerLei commented on a change in pull request #3898:
URL: https://github.com/apache/hadoop/pull/3898#discussion_r790095163



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INode.java
##########
@@ -339,6 +339,13 @@ public boolean isFile() {
     return false;
   }
 
+  public boolean isSetStoragePolicy() {

Review comment:
        @wojiaodoubao thank you very much for your comment. I  had fixed  it 
and repush it.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 713171)
    Time Spent: 1h 50m  (was: 1h 40m)

> Source path setted storagePolicy will cause wrong typeConsumed  in rename 
> operation
> -----------------------------------------------------------------------------------
>
>                 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
>         Attachments: example.txt
>
>          Time Spent: 1h 50m
>  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to