[
https://issues.apache.org/jira/browse/HDFS-5869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891816#comment-13891816
]
Tsz Wo (Nicholas), SZE commented on HDFS-5869:
----------------------------------------------
Hi Vinay,
Thanks for looking at the patch. FSImage.saveNamespace(..) already has
endCurrentLogSegment, startLogSegmentAndWriteHeaderTxn and
writeTransactionIdFileToStorage which are the same things as in rolling edit
log.
> 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
>
>
> - 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)