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

Jinglun updated HDFS-14568:
---------------------------
    Description: 
The quota and consume of the file's ancestors are not handled when the storage 
policy of the file is changed. For example:
 1. Set quota StorageType.SSD fileSpace-1 to the parent dir;
 2. Create a file size of fileSpace with storage policy \{DISK,DISK,DISK} under 
it;
 3. Change the storage policy of the file to ALLSSD_STORAGE_POLICY_NAME and 
expect a QuotaByStorageTypeExceededException.

Because the quota and consume is not handled, the expected exception is not 
threw out.

  was:
The quota and consume of the file's ancestors are not handled when the storage 
policy of the file is changed. For example:
1. Set quota StorageType.SSD fileSpace-1 to the parent dir;
2. Create a file size of fileSpace with storage policy \{DISK,DISK,DISK} under 
it;
3. Change the storage policy of the file to ALLSSD_STORAGE_POLICY_NAME and 
expect a QuotaByStorageTypeExceededException.


> 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
>            Assignee: Jinglun
>            Priority: Major
>         Attachments: HDFS-14568-001.patch, 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:
>  1. Set quota StorageType.SSD fileSpace-1 to the parent dir;
>  2. Create a file size of fileSpace with storage policy \{DISK,DISK,DISK} 
> under it;
>  3. Change the storage policy of the file to ALLSSD_STORAGE_POLICY_NAME and 
> expect a QuotaByStorageTypeExceededException.
> Because the quota and consume is not handled, the expected exception is not 
> threw out.



--
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