[
https://issues.apache.org/jira/browse/HDFS-4243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer updated HDFS-4243:
-----------------------------------
Fix Version/s: (was: 3.0.0)
2.1.0-beta
> INodeDirectory.replaceChild(..) does not update parent
> ------------------------------------------------------
>
> Key: HDFS-4243
> URL: https://issues.apache.org/jira/browse/HDFS-4243
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: 3.0.0
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Jing Zhao
> Fix For: 2.1.0-beta
>
> Attachments: HDFS-4243.001.patch, HDFS-4243.002.patch,
> HDFS-4243.003.patch
>
>
> The method replaces an existing child with a new child. However, it does not
> take care the case the child also an INodeDirectory. In such case, the
> parent pointers of the children of the child have to be updated to the new
> child.
> Only FSDirectory.unprotectedSetQuota(..) calls this method so that the child
> is always an INodeDirectory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)