[
https://issues.apache.org/jira/browse/HDFS-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit Agarwal resolved HDFS-4728.
---------------------------------
Resolution: Duplicate
Too slow - dup'ed to HDFS-4726.
> 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