You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Todd Lipcon (Created) (JIRA)" <ji...@apache.org> on 2012/01/21 01:26:39 UTC

[jira] [Created] (HDFS-2820) Add a simple sanity check for HA config

Add a simple sanity check for HA config
---------------------------------------

                 Key: HDFS-2820
                 URL: https://issues.apache.org/jira/browse/HDFS-2820
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: ha, name-node
    Affects Versions: HA branch (HDFS-1623)
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
            Priority: Trivial


If the user configures a shared edits dir, but doesn't configure the namenode addresses correctly, the NN will fail to start up in a very strange way.
I had this misconfiguration in one of my test clusters which was difficult to debug, even though I'm very familiar with the code. This patch is to add a simple sanity check so that if a user has the same misconfiguration, it will fail to start and given a more informative dump.

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

        

[jira] [Resolved] (HDFS-2820) Add a simple sanity check for HA config

Posted by "Todd Lipcon (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon resolved HDFS-2820.
-------------------------------

       Resolution: Fixed
    Fix Version/s: HA branch (HDFS-1623)
     Hadoop Flags: Reviewed

Committed to branch, thanks Eli.
                
> Add a simple sanity check for HA config
> ---------------------------------------
>
>                 Key: HDFS-2820
>                 URL: https://issues.apache.org/jira/browse/HDFS-2820
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Trivial
>             Fix For: HA branch (HDFS-1623)
>
>         Attachments: hdfs-2820.txt
>
>
> If the user configures a shared edits dir, but doesn't configure the namenode addresses correctly, the NN will fail to start up in a very strange way.
> I had this misconfiguration in one of my test clusters which was difficult to debug, even though I'm very familiar with the code. This patch is to add a simple sanity check so that if a user has the same misconfiguration, it will fail to start and given a more informative dump.

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