[ https://issues.apache.org/jira/browse/HDFS-6031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13915392#comment-13915392 ]
Haohui Mai commented on HDFS-6031: ---------------------------------- Looks good to me. I've verified that NN can start with {{-rollingUpgrade started}}. Nit: there are trailing white spaces in the patch. +1 once addressed. > NN running newer software rejects loading the fsimage during rolling upgrade. > ----------------------------------------------------------------------------- > > Key: HDFS-6031 > URL: https://issues.apache.org/jira/browse/HDFS-6031 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Reporter: Haohui Mai > Assignee: Tsz Wo (Nicholas), SZE > Attachments: h6031_20140227.patch, h6031_20140227b.patch > > > During rolling upgrade, the standby NN that has a newer layout version will > complain about that the fsimage is too old, and require starting the NN using > the {{-upgrade}} option: > {noformat} > File system image contains an old layout version -55. An upgrade to version > -56 is required. > {noformat} > However, {{-upgrade}} is disabled during rolling upgrade, thus it is > impossible to restart the standby NN: > {noformat} > org.apache.hadoop.hdfs.protocol.RollingUpgradeException: Failed to upgrade > namenode since a rolling upgrade is already in progress. Existing rolling > upgrade info: > ... > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)