hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6996) SnapshotDiff report can hit IndexOutOfBoundsException when there are nested renamed directory/file
Date Fri, 05 Sep 2014 11:28:29 GMT

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

Hudson commented on HDFS-6996:
------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #671 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/671/])
HDFS-6996. SnapshotDiff report can hit IndexOutOfBoundsException when there are nested renamed
directory/file. Contributed by Jing Zhao. (jing: rev f7df24bb1b4278d27f5c2b7fecf7b69be4302c7a)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeReference.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/DirectorySnapshottableFeature.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestSnapshotDiffReport.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> 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
>             Fix For: 3.0.0, 2.6.0
>
>         Attachments: HDFS-6996.000.patch, HDFS-6996.001.patch
>
>
> 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)

Mime
View raw message