[
https://issues.apache.org/jira/browse/HDFS-5960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit Agarwal updated HDFS-5960:
--------------------------------
Attachment: HDFS-5960.01.patch
Patch to process {{start/finalizeRollingUpgrade}} from the corresponding edit
log operations. Also update edit log only when the operations are initiated via
RPC.
Verified this fixes {{TestRollingUpgrade}}. {{TestEditLogUpgradeMarker}} still
needs to be updated.
> Fix TestRollingUpgrade
> ----------------------
>
> Key: HDFS-5960
> URL: https://issues.apache.org/jira/browse/HDFS-5960
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Fix For: HDFS-5535 (Rolling upgrades)
>
> Attachments: HDFS-5960.01.patch
>
>
> {{TestRollingUpgrade}} fails when restarting the NN because
> {{OP_ROLLING_UPGRADE_START}} and {{OP_ROLLING_UPGRADE_FINALIZE}} are not
> expected.
> The fix is to start/finalize rolling upgrade when the corresponding edit log
> op is seen.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)