[ https://issues.apache.org/jira/browse/HDFS-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201128#comment-13201128 ]
Eli Collins commented on HDFS-2794: ----------------------------------- I like this approach better too. Patch looks good. +1 The comment in hdfs-default is a little unclear, it's worth mentioning that we'll retain 1M edits *in addition to the current edits*, so it's a million edits retained in addition to the current edits storage. > HA: Active NN may purge edit log files before standby NN has a chance to read > them > ---------------------------------------------------------------------------------- > > Key: HDFS-2794 > URL: https://issues.apache.org/jira/browse/HDFS-2794 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ha, name-node > Affects Versions: HA branch (HDFS-1623) > Reporter: Aaron T. Myers > Assignee: Todd Lipcon > Attachments: hdfs-2794.txt > > > Given that the active NN is solely responsible for purging finalized edit log > segments, and given that the active NN has no way of knowing when the standby > reads edit logs, it's possible that the standby NN could fail to read all > edits it needs before the active purges the files. -- 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