hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2731) HA: Autopopulate standby name dirs if they're empty
Date Mon, 05 Mar 2012 22:37:57 GMT

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

Todd Lipcon commented on HDFS-2731:
-----------------------------------

Here's an example output:

{code}
=====================================================
About to bootstrap Standby ID nn2 from:
           Nameservice ID: nameserviceId1
        Other Namenode ID: nn1
  Other NN's HTTP address: todd-w510:50081
  Other NN's IPC  address: todd-w510/127.0.0.1:8021
             Namespace ID: 1273108605
            Block pool ID: BP-2075569167-127.0.0.1-1330663690093
               Cluster ID: CID-d2c547b6-1a29-4bd9-a1fa-d5fdba8120f1
           Layout version: -40
=====================================================
Re-format filesystem in /tmp/name2-name ? (Y or N) y
Re-format filesystem in /tmp/name2-name2 ? (Y or N) y
12/03/05 14:34:53 INFO namenode.NNStorage: Storage directory /tmp/name2-name has been successfully
formatted.
12/03/05 14:34:53 INFO namenode.NNStorage: Storage directory /tmp/name2-name2 has been successfully
formatted.
12/03/05 14:34:54 INFO namenode.TransferFsImage: Downloaded file fsimage.ckpt_0000000000000000026
size 143 bytes.
12/03/05 14:34:54 INFO namenode.NameNode: SHUTDOWN_MSG: 
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at todd-w510/127.0.0.1
************************************************************/
{code}

If the directories don't exist, the confirmation prompt is not printed.
The above manual test also was run with security enabled.
                
> HA: Autopopulate standby name dirs if they're empty
> ---------------------------------------------------
>
>                 Key: HDFS-2731
>                 URL: https://issues.apache.org/jira/browse/HDFS-2731
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: ha
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Todd Lipcon
>         Attachments: hdfs-2731.txt
>
>
> To setup a SBN we currently format the primary then manually copy the name dirs to the
SBN. The SBN should do this automatically. Specifically, on NN startup, if HA with a shared
edits dir is configured and populated, if the SBN has empty name dirs it should downloads
the image and log from the primary (as an optimization it could copy the logs from the shared
dir). If the other NN is still in standby then it should fail to start as it does currently.

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