[ https://issues.apache.org/jira/browse/HDFS-13101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16909470#comment-16909470 ]
Siyao Meng commented on HDFS-13101: ----------------------------------- [~shashikant] I found that the updated unit test `testDoubleRename` (was `testFSImageCorruption`) since patch v3 doesn't reproduce the corruption anymore. I tested that even if [L742-747 and L754|https://github.com/apache/hadoop/blob/0a85af959ce505f0659e5c69d0ca83a5dce0a7c2/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/DirectoryWithSnapshotFeature.java#L742-L747] is commented out, the new unit test won't catch the corruption. But the old unit test in v2 WILL. I might file another jira to improve the unit test. > Yet another fsimage corruption related to snapshot > -------------------------------------------------- > > Key: HDFS-13101 > URL: https://issues.apache.org/jira/browse/HDFS-13101 > Project: Hadoop HDFS > Issue Type: Bug > Components: snapshots > Reporter: Yongjun Zhang > Assignee: Shashikant Banerjee > Priority: Major > Fix For: 3.3.0 > > Attachments: HDFS-13101.001.patch, HDFS-13101.002.patch, > HDFS-13101.003.patch, HDFS-13101.004.patch, > HDFS-13101.corruption_repro.patch, > HDFS-13101.corruption_repro_simplified.patch > > > Lately we saw case similar to HDFS-9406, even though HDFS-9406 fix is > present, so it's likely another case not covered by the fix. We are currently > trying to collect good fsimage + editlogs to replay to reproduce it and > investigate. -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org