[ https://issues.apache.org/jira/browse/HDFS-1508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965785#action_12965785 ]
Sanjay Radia commented on HDFS-1508: ------------------------------------ Dhruab, I understand your use case and do support it as you can see from my comments. I just wanted the -f flag since on a system with a large image it could have impact on clients. Wrt to checkpoints - while the writelock will address the race, we need to make sure that the BNN/SNN does not fail or get confused if it happens to do a checkpoint at the concurrently. > Ability to do savenamespace without being in safemode > ----------------------------------------------------- > > Key: HDFS-1508 > URL: https://issues.apache.org/jira/browse/HDFS-1508 > Project: Hadoop HDFS > Issue Type: Improvement > Components: name-node > Reporter: dhruba borthakur > Assignee: dhruba borthakur > Attachments: savenamespaceWithoutSafemode.txt > > > In the current code, the administrator can run savenamespace only after > putting the namenode in safemode. This means that applications that are > writing to HDFS encounters errors because the NN is in safemode. We would > like to allow saveNamespace even when the namenode is not in safemode. > The savenamespace command already acquires the FSNamesystem writelock. There > is no need to require that the namenode is in safemode too. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.