hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2772) HA: On transition to active, standby should not swallow ELIE
Date Wed, 11 Jan 2012 02:18:39 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183799#comment-13183799
] 

Aaron T. Myers commented on HDFS-2772:
--------------------------------------

I'm still working on writing a test case for it, but I can confirm that the present code will
not in fact allow the standby to "silently fail to load all the edits before becoming active."
That is, the current code does not presently have any correctness issue. Writing a test for
this is a little annoying because of the way exceptions are propagated, but I'll post a patch
for it shortly.
                
> HA: On transition to active, standby should not swallow ELIE
> ------------------------------------------------------------
>
>                 Key: HDFS-2772
>                 URL: https://issues.apache.org/jira/browse/HDFS-2772
>             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
>
> EditLogTailer#doTailEdits currently catches, logs, and swallows EditLogInputException.
This is fine in the case when the standby is sitting idly behind tailing logs. However, when
the standby is transitioning to active, swallowing this exception is incorrect, since it could
cause the standby to silently fail to load all the edits before becoming active.

--
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

        

Mime
View raw message