[ https://issues.apache.org/jira/browse/HDFS-2100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron T. Myers updated HDFS-2100: --------------------------------- Attachment: hdfs-2100.0.patch Patch which adds a new test method to cover this case. This patch also cleans up {{TestStorageRestore}} generally by making it not extend {{TestCase}}, getting rid of a few compiler warnings, and fixing a typo. > Improve TestStorageRestore > -------------------------- > > Key: HDFS-2100 > URL: https://issues.apache.org/jira/browse/HDFS-2100 > Project: Hadoop HDFS > Issue Type: Test > Components: test > Affects Versions: 0.23.0 > Reporter: Aaron T. Myers > Assignee: Aaron T. Myers > Priority: Minor > Fix For: 0.23.0 > > Attachments: hdfs-2100.0.patch > > > Though running multiple 2NNs isn't supported, accidentally doing so should > not result in HDFS metadata corruptions. We should add a test case to > exercise this possibility when name.dir.storage.restore is enabled, which is > a particularly delicate code path. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira