[ https://issues.apache.org/jira/browse/HDFS-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron T. Myers updated HDFS-2769: --------------------------------- Attachment: HDFS-2769-HDFS-1623.patch Here's a patch which addresses the issue. I ran the following tests, all of which passed: TestOfflineEditsViewer,TestHDFSConcat,TestEditLogRace,TestNameEditsConfigs,TestSaveNamespace,TestEditLogFileOutputStream,TestFileJournalManager,TestEditLog,TestFSEditLogLoader,TestFsLimits,TestSecurityTokenEditLog,TestStorageRestore,TestEditLogJournalFailures,TestEditLogTailer,TestEditLogsDuringFailover,TestHASafeMode,TestStandbyCheckpoints,TestDNFencing,TestDNFencingWithReplication,TestStandbyIsHot,TestGenericJournalConf,TestCheckPointForSecurityTokens,TestNNStorageRetentionManager,TestPBHelper,TestNNLeaseRecovery,TestFiRename,TestHAStateTransitions,TestFailureOfSharedDir > HA: When HA is enabled with a shared edits dir, that dir should be marked > required > ---------------------------------------------------------------------------------- > > Key: HDFS-2769 > URL: https://issues.apache.org/jira/browse/HDFS-2769 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ha, name-node > Affects Versions: HA branch (HDFS-1623) > Reporter: Aaron T. Myers > Assignee: Aaron T. Myers > Attachments: HDFS-2769-HDFS-1623.patch > > > HDFS-2430 introduced the concept of "required" edits/name dirs, which are not > treated as redundant when considering NN storage failure. When a shared edits > dir is used, this should automatically be marked as required. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira