Jing Zhao created HDFS-6996: ------------------------------- Summary: SnapshotDiff report can hit IndexOutOfBoundsException when there are nested renamed directory/file Key: HDFS-6996 URL: https://issues.apache.org/jira/browse/HDFS-6996 Project: Hadoop HDFS Issue Type: Bug Components: snapshots Affects Versions: 2.5.0 Reporter: Jing Zhao Assignee: Jing Zhao
Currently when computing snapshot diff report where a renamed file/directory is involved, we scan the {{withNameList}} inside of the corresponding WithCount node to identify the correct rename target. However, the {{withNameList}} can be empty due to snapshot deletion operations thus an IndexOutOfBoundsException can be triggered. -- This message was sent by Atlassian JIRA (v6.3.4#6332)