You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Arpit Agarwal (JIRA)" <ji...@apache.org> on 2013/04/23 00:29:18 UTC

[jira] [Created] (HDFS-4728) Snapshot tests broken after merge from trunk

Arpit Agarwal created HDFS-4728:
-----------------------------------

             Summary: Snapshot tests broken after merge from trunk
                 Key: HDFS-4728
                 URL: https://issues.apache.org/jira/browse/HDFS-4728
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: namenode
    Affects Versions: Snapshot (HDFS-2802)
            Reporter: Arpit Agarwal
            Assignee: Arpit Agarwal
             Fix For: Snapshot (HDFS-2802)


Snapshot tests are broken after the recent merge from trunk. The likely cause of regression is the change to INodeDirectory.clearChildren which resets the children list while replacing an INodeDirectory with INodeDirectorySnapshottable. Testing a fix.

{code}
  public void clearChildren() {
    if (children != null) {
      this.children.clear();
      this.children = null;
    }
  }
{code}

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