hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4877) Snapshot: fix the scenario where a directory is renamed under its prior descendant
Date Tue, 04 Jun 2013 22:05:21 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13675324#comment-13675324
] 

Hadoop QA commented on HDFS-4877:
---------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12586148/HDFS-4877.001.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs:

                  org.apache.hadoop.hdfs.server.blockmanagement.TestBlocksWithNotEnoughRacks

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/4476//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/4476//console

This message is automatically generated.
                
> Snapshot: fix the scenario where a directory is renamed under its prior descendant
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-4877
>                 URL: https://issues.apache.org/jira/browse/HDFS-4877
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>            Priority: Blocker
>         Attachments: HDFS-4877.001.patch
>
>
> Suppose we have the following operations:
> 1. rename /dir1/foo/bar to /dir2/bar2
> 2. rename /dir1/foo to /dir2/bar2/foo2
> I.e., we rename a directory (foo) to a child of its prior descendant (bar). If we have
taken snapshots on root before the above 2 rename operations, a circle can be generated consisting
of nodes with the types INodeReference.WithName and INodeReference.DstReference:
> WithName (foo) --> WithCount (for foo) --> foo2 --> WithName (bar) --> WithCount
(for bar) --> bar2 --> DstReference (foo) --> WithCount (for foo)
> When deleting a snapshot before the rename operations, the current code may hit an infinite
loop when cleaning the snapshot data or updating the quota usage for the nodes in the above
circle. This jira will fix the issue.

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