[
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_20140227.patch
Good catch! Since we have protobuf, the layout version won't be change in the
near future. Anyway, let's fix it.
h6031_20140227.patch
> 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: datanode, ha, hdfs-client, namenode
> Reporter: Haohui Mai
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h6031_20140227.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)