hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6996) SnapshotDiff report can hit IndexOutOfBoundsException when there are nested renamed directory/file
Date Thu, 04 Sep 2014 23:44:24 GMT

     [ https://issues.apache.org/jira/browse/HDFS-6996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jing Zhao updated HDFS-6996:
----------------------------
          Resolution: Fixed
       Fix Version/s: 2.6.0
                      3.0.0
    Target Version/s: 2.6.0
        Hadoop Flags: Reviewed
              Status: Resolved  (was: Patch Available)

I've committed this to trunk and branch-2.

> 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