hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3191) Active NN should exit when it cannot write to quorum number of Journal Daemons
Date Mon, 02 Jul 2012 23:12:57 GMT

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

Todd Lipcon commented on HDFS-3191:
-----------------------------------

I think this is already satisfied by the current code paths. If logSync() fails, then FSEditLog
already calls runtime.exit(). The behavior is already correct so long as the JournalManager
properly fails logSync() when it can't get a quorum.

In the patch on HDFS-3077, there is a test {{TestNNWithQJM.testNewNamenodeTakesOverWriter}}
which checks the above property.
                
> Active NN should exit when it cannot write to quorum number of Journal Daemons
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-3191
>                 URL: https://issues.apache.org/jira/browse/HDFS-3191
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node
>            Reporter: Hari Mankude
>


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