[ https://issues.apache.org/jira/browse/HDFS-6340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13990055#comment-13990055 ]
Arpit Agarwal commented on HDFS-6340: ------------------------------------- Yes, good catch [~rahulsinghal.iitd]. The change looks fine to me but the patch won't apply in trunk. The {{nn.isStandbyState()}} bug appears to have been there for a while. You could fix it here as Kihwal suggested or file a separate Jira for it and just fix the immediate regression here. > DN can't finalize upgarde > ------------------------- > > Key: HDFS-6340 > URL: https://issues.apache.org/jira/browse/HDFS-6340 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode > Affects Versions: 2.4.0 > Reporter: Rahul Singhal > Priority: Blocker > Attachments: HDFS-6340-branch-2.4.0.patch > > > I upgraded a (NN) HA cluster from 2.2.0 to 2.4.0. After I issued the > '-finalizeUpgarde' command, NN was able to finalize the upgrade but DN > couldn't (I waited for the next block report). > I think I have found the problem to be due to HDFS-5153. I will attach a > proposed fix. -- This message was sent by Atlassian JIRA (v6.2#6252)