hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-4243) INodeDirectory.replaceChild(..) does not update parent
Date Fri, 30 Nov 2012 16:59:58 GMT

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

Jing Zhao updated HDFS-4243:
----------------------------

    Attachment: HDFS-4243.002.patch
    
> 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
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Jing Zhao
>         Attachments: HDFS-4243.001.patch, HDFS-4243.002.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 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

Mime
View raw message