[ https://issues.apache.org/jira/browse/HDFS-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175375#comment-13175375 ]
Uma Maheswara Rao G commented on HDFS-2720: ------------------------------------------- One way to fix this is, we can just skip the in_use.lock file from copying the NamespaceDirs. Other way could be, manage the clusterID to be insync between active and format all as initial as real clusters does. @Todd, i want to know how we planned to sync the cluster id between active and standby nodes here. > HA : TestStandbyIsHot is failing while copying in_use.lock file from NN1 to > NN2 > -------------------------------------------------------------------------------- > > 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 > > 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