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 20:18:23 GMT

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

Jing Zhao updated HDFS-6996:
----------------------------
    Status: Patch Available  (was: Open)

> 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
>         Attachments: HDFS-6996.000.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