hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinay (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5869) When rolling upgrade is in progress, NN should only create checkpoint right before the upgrade marker
Date Thu, 06 Feb 2014 05:00:10 GMT

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

Vinay commented on HDFS-5869:
-----------------------------

bq. Once we have HDFS-5889, we do not need to disable the checkpointing in SBN anymore. 
Yes, we need not disable, but checkpoints during rollingupgrade should be kept separately
only for downgrade purpose.
bq. My understand is that: if we have successfully done the checkpoint for the startRollingUpgrade
call, we will have an fsimage and in case that this is the latest fsimage, we do not need
to do the checkpoint again while restarting. But if the fsimage is lost or this is the SBN/SNN,
this extra checkpoint can be triggered. Do I understand correctly here?
Yes you are right. 
bq.  And I guess the SecondaryNN actually does not need to do this extra checkpoint?
Yes its not required. how to avoid only for SNN?

> When rolling upgrade is in progress, NN should only create checkpoint right before the
upgrade marker
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-5869
>                 URL: https://issues.apache.org/jira/browse/HDFS-5869
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: h5869_20140204.patch, h5869_20140204b.patch, h5869_20140205.patch
>
>
> - When starting rolling upgrade, NN should create a checkpoint before it writes the upgrade
marker edit log transaction.
> - When rolling upgrade is in progress, NN should reject saveNamespace rpc calls. Further,
if NN restarts, it should create a checkpoint only right before the upgrade marker.



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

Mime
View raw message