[ https://issues.apache.org/jira/browse/HADOOP-5729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704140#action_12704140 ]
Wang Xu commented on HADOOP-5729: --------------------------------- I modified the patch to call processIOError() instead of exit directly if no editStream were opened. > FSEditLog.open should stop going on if cannot open any directory > ---------------------------------------------------------------- > > Key: HADOOP-5729 > URL: https://issues.apache.org/jira/browse/HADOOP-5729 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.19.1 > Environment: CentOS 5.2, jdk 1.6, hadoop 0.19.1 > Reporter: Wang Xu > Assignee: Wang Xu > Fix For: 0.19.2 > > Attachments: fseditlog-open.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > FSEditLog.open will be invoked when SecondaryNameNode doCheckPoint, > If no dir is opened successfully, it only prints some WARN messages in log, > and goes on running. > However, it causes the editStreams becomes empty and cannot by synced > in. And if editStreams were decreased to 0 when exceptions occured during > logsync, NameNode would print FATAL log message and halt itself. Hence, > we think it should also stopped itself at that time. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.