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