You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2012/07/09 23:16:35 UTC

[jira] [Commented] (HDFS-1508) Ability to do savenamespace without being in safemode

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

Harsh J commented on HDFS-1508:
-------------------------------

I think this makes sense to go in, especially with the feature offered via HDFS-1509.

Dhruba - Would you have some spare cycles to rebase the patch onto current trunk? If not, I'll get it done by the week.
                
> 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, savenamespaceWithoutSafemode2.txt, savenamespaceWithoutSafemode3.txt, savenamespaceWithoutSafemode4.txt, savenamespaceWithoutSafemode5.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.
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