[
https://issues.apache.org/jira/browse/HDFS-5869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893214#comment-13893214
]
Tsz Wo (Nicholas), SZE commented on HDFS-5869:
----------------------------------------------
SNN may be irrelevant here since rolling upgrade is for HA setup which does not
have SNN. We probably should throw an exception if SNN is started with
-rollingupgrade startup option.
Vinay, thanks for helping answering the questions.
> 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)