[ https://issues.apache.org/jira/browse/HDFS-2902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203002#comment-13203002 ]
Bikas Saha commented on HDFS-2902: ---------------------------------- Reading the code shows a possible inconsistency issue. FSImage.storage (an NNStorage object) manages the info about all storage dirs and records their health state. This includes edits and name dirs. FSEditLogs.journalSet manages the info about all the journals and each journal maintains its own reference to the StorageDirectory it is writing to. This storage directory is managed by FSImage.storage above. However, both these work independently. So marking a directory as bad in FSImage.storage does not really stop it from being written via a journal. And vice versa. > HA: Allow new shared edit logs dir to be configured while NN is running > ----------------------------------------------------------------------- > > Key: HDFS-2902 > URL: https://issues.apache.org/jira/browse/HDFS-2902 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ha, name-node > Affects Versions: HA branch (HDFS-1623) > Reporter: Bikas Saha > Assignee: Bikas Saha > -- 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