[ 
https://issues.apache.org/jira/browse/HDFS-14568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jinglun updated HDFS-14568:
---------------------------
    Attachment: HDFS-14568-unit-test.patch

> The quota and consume of the file's ancestors are not handled when the 
> storage policy of the file is changed.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-14568
>                 URL: https://issues.apache.org/jira/browse/HDFS-14568
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 3.1.0
>            Reporter: Jinglun
>            Priority: Major
>         Attachments: HDFS-14568-unit-test.patch
>
>
> The quota and consume of the file's ancestors are not handled when the 
> storage policy of the file is changed. For example:
> First I set quota StorageType.SSD 2*fileSpace to the parent dir;
> Then I create a file with len fileSpace with \{DISK,DISK,DISK} under it;
> Finally I change the storage policy of the file to ALLSSD_STORAGE_POLICY_NAME 
> and expect a QuotaByStorageTypeExceededException. But there isn't any 
> exception.
> I'm not sure it is a bug or originally designed to skip the quota check. But 
> having the check does make sense. I'll upload a unit test to show the case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to