[
https://issues.apache.org/jira/browse/HDFS-6031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE updated HDFS-6031:
-----------------------------------------
Attachment: h6031_20140227e.patch
> Nit: there are trailing white spaces in the patch. +1 once addressed.
Sorry that I forgot to address this previously. Generally, we should not pay
too much attention on the white spaces. It is nice to have but should not be a
requirement. Let's put our energy on the code. Otherwise, it will slow down
the development progress.
h6031_20140227e.patch: removes the white space.
> 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,
> h6031_20140227c.patch, h6031_20140227d.patch, h6031_20140227e.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)