[ https://issues.apache.org/jira/browse/HDFS-8846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14649923#comment-14649923 ]
Zhe Zhang commented on HDFS-8846: --------------------------------- [~mingma] [~cmccabe] Let me know if the below looks a reasonable plan: # Start a local 2.5.2 cluster (it's just the oldest version shown on Apache website, let me know if the version is appropriate) # Add the following Ops: #* Create a directory #* Copy ~10 local files into the dir #* Delete a few copied files # Add the generated edit log files in {{hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs/old-edits}} # Copy over old edits in {{TestDFSUpgrade#testPreserveEditLogs}} Thanks > Create edit log files with old layout version for upgrade testing > ----------------------------------------------------------------- > > Key: HDFS-8846 > URL: https://issues.apache.org/jira/browse/HDFS-8846 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 2.7.1 > Reporter: Zhe Zhang > Assignee: Zhe Zhang > > Per discussion under HDFS-8480, we should create some edit log files with old > layout version, to test whether they can be correctly handled in upgrades. -- This message was sent by Atlassian JIRA (v6.3.4#6332)