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

Eli Collins commented on HDFS-2720:
-----------------------------------

ATM and I were discussing how to initialize the SBN state yesterday. What we 
currently do is format the primary then copy the name dirs to the SBN. How 
about making the SBN do this automatically on startup? Specifically, on NN 
startup, if HA and a shared edits dir are configured, if there is no local 
image but the shared-dir is configured then the SBN downloads the image from 
the primary (if the other NN is still standby then it fails to start as it does 
currently).
                
> HA : TestStandbyIsHot is failing while copying in_use.lock file from NN1 
> nameSpaceDirs to NN2 nameSpaceDirs 
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-2720
>                 URL: https://issues.apache.org/jira/browse/HDFS-2720
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, test
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
>         Attachments: HDFS-2720.patch
>
>
> To maintain the clusterID same , we are copying the namespaceDirs from 1st NN 
> to other NNs.
> While copying this files, in_use.lock file may not allow to copy in all the 
> OSs since it has aquired the lock on it. 

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

        

Reply via email to