You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2007/10/13 04:38:50 UTC

[jira] Updated: (HADOOP-1604) admins should be able to finalize namenode upgrades without running the cluster

     [ https://issues.apache.org/jira/browse/HADOOP-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-1604:
----------------------------------------

    Attachment: finalize.patch

This patch introduces -finalize option for starting  the name-node.
When started with -finalize name-node removes previous directories if any and exits.
There is no need to start data-node at this time.
After that the cluster can be started regularly, and the data-nodes will perform finalize on there own.

Reporting is also improved as requested. Non finalized upgrade is reported by
# dfsadmin -report
# dfsadmin -upgradeProgress
# and web UI prints the upgrade status


> admins should be able to finalize namenode upgrades without running the cluster
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-1604
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1604
>             Project: Hadoop
>          Issue Type: New Feature
>          Components: dfs
>    Affects Versions: 0.14.0
>            Reporter: Owen O'Malley
>            Assignee: Konstantin Shvachko
>            Priority: Critical
>             Fix For: 0.15.0
>
>         Attachments: finalize.patch
>
>
> Currently a HDFS cluster must be running in order to finalize an upgrade, but if you shut down without finalizing the new software won't start up. I propose a command line option to the namenode that lets you finalize an upgrade with the cluster down.
> {code}
> % bin/hadoop namenode -finalize
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.