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

Jing Zhao updated HDFS-4563:
----------------------------

    Attachment: HDFS-4563.002.patch

Update the patch to address Nicholas's comments. As part of the patch, I moved 
EnumCounters to diff as the original proposal of HDFS-4574, and to fix the 
compilation error, I moved the Content enum out of INode as a separate file.

For cleanSubtreeRecursively(...), I did not pass in Quota.Counts as parameter 
considering we need to update the quota usage for each individual 
INodeDirectoryWithQuota in the subtree. We may have to do extra operations to 
calculate the difference of the passed-in counts before/after processing each 
subtree if we use a single counts as parameter.
                
> Update namespace/diskspace after deleting snapshots
> ---------------------------------------------------
>
>                 Key: HDFS-4563
>                 URL: https://issues.apache.org/jira/browse/HDFS-4563
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HDFS-4563.001.patch, HDFS-4563.002.patch
>
>
> 1. Update namespace/diskspace after deleting snapshots
> 2. Compute quota usage when an INodeDirectoryWithSnapshot is first assigned 
> with quota
> 3. Add more unit tests covering quota usage computation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to