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

Jing Zhao updated HDFS-4150:
----------------------------

    Attachment: HDFS-4150.000.patch

Initial patch without tests. Will add/run testcases for it.
                
> Update inode in blocksMap when deleting original/snapshot file
> --------------------------------------------------------------
>
>                 Key: HDFS-4150
>                 URL: https://issues.apache.org/jira/browse/HDFS-4150
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: data-node, name-node
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HDFS-4150.000.patch
>
>
> When deleting a file/directory, instead of directly removing all the 
> corresponding blocks, we should update inodes in blocksMap if there are 
> snapshots for them.

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