[
https://issues.apache.org/jira/browse/HDFS-5869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE updated HDFS-5869:
-----------------------------------------
Attachment: h5869_20140205.patch
h5869_20140205.patch: updates the test and removes checkRollingUpgrade in
startCheckpoint.
On a second thought, we should only disallow save namespace but allow
checkpoint. Otherwise, the edit log may become huge.
> 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)