hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5920) Support rollback of rolling upgrade in NameNode and JournalNodes
Date Thu, 13 Feb 2014 23:10:21 GMT

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

Suresh Srinivas commented on HDFS-5920:
---------------------------------------

Comments:
# Minor nit: move nnf declartion to the line where it is assigned to.
# Move changes reltaed rollingRollback that discard segments into a separate method
# Before merge, we should replcae checks that check startup option is rollback and upgrade
option is rollback to a method on StartupOption. There are many such checks in NN and DN.
# Why are you moving prog.endPhase(Phase.LOADING_EDITS) to finally?

Adding more tests can be done in another jira.


> Support rollback of rolling upgrade in NameNode and JournalNodes
> ----------------------------------------------------------------
>
>                 Key: HDFS-5920
>                 URL: https://issues.apache.org/jira/browse/HDFS-5920
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: journal-node, namenode
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HDFS-5920.000.patch, HDFS-5920.000.patch, HDFS-5920.001.patch, HDFS-5920.002.patch
>
>
> This jira provides rollback functionality for NameNode and JournalNode in rolling upgrade.
> Currently the proposed rollback for rolling upgrade is:
> 1. Shutdown both NN
> 2. Start one of the NN using "-rollingUpgrade rollback" option
> 3. This NN will load the special fsimage right before the upgrade marker, then discard
all the editlog segments after the txid of the fsimage
> 4. The NN will also send RPC requests to all the JNs to discard editlog segments. This
call expects response from all the JNs. The NN will keep running if the call succeeds.
> 5. We start the other NN using bootstrapstandby rather than "-rollingUpgrade rollback"



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message