[
https://issues.apache.org/jira/browse/HDFS-8846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14650166#comment-14650166
]
Ming Ma commented on HDFS-8846:
-------------------------------
2.5 should be fine. Although people still use 2.3 or 2.4, this test tries to
verify old edits can be replayed during upgrade; not necessarily
compatibilities around edit log formats.
If you unpack the existing fsimage tgz files under
{{hadoop-hdfs-project/hadoop-hdfs/src/test/resources}}, they have the proper
namenode dir contents that include VERSION file, etc.. Just wonder if you are
going to create something similar except that the fsimage is empty.
> 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)