hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-4637) INodeDirectory#replaceSelf4Quota may convert a newly created directory (which is not included in the latest snapshot) to an INodeDirectoryWithSnapshot
Date Mon, 01 Apr 2013 01:53:15 GMT

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

Tsz Wo (Nicholas), SZE updated HDFS-4637:
-----------------------------------------

     Component/s:     (was: datanode)
    Hadoop Flags: Reviewed

+1 patch looks good.
                
> INodeDirectory#replaceSelf4Quota may convert a newly created directory (which is not
included in the latest snapshot) to an INodeDirectoryWithSnapshot
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-4637
>                 URL: https://issues.apache.org/jira/browse/HDFS-4637
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>            Priority: Minor
>         Attachments: HDFS-4637.001.patch, HDFS-4637.002.patch
>
>
> In INodeDirectory#replaceSelf4Quota, we convert the target node to INodeDirectoryWithSnapshot
when the latest snapshot is not null. This may convert a directory, which was created after
taking the latest snapshot, to an INodeDirectoryWithSnapshot. We thus should use INode#isInLatestSnapshot
for checking here.

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