[
https://issues.apache.org/jira/browse/HDFS-3261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HDFS-3261:
------------------------------
Attachment: hdfs-3261.txt
Patch is simple: goes back to the previous way this test was written, and calls
transitionToActive directly on the NN RPC server, instead of going through the
actual RPC layer. Verified that the test passes with this fix.
> TestHASafeMode fails on HDFS-3042 branch
> ----------------------------------------
>
> Key: HDFS-3261
> URL: https://issues.apache.org/jira/browse/HDFS-3261
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: Auto failover (HDFS-3042)
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Priority: Trivial
> Attachments: hdfs-3261.txt
>
>
> TestHASafeMode started failing on the HDFS-3042 branch after the commit of
> HADOOP-8247. The reason is that testEnterSafeModeInANNShouldNotThrowNPE
> restarts the active node, and then tries to make an RPC to it right after
> restarting. The RPC picks up a cached connection to the old (restarted) NN,
> which causes an EOFException. This was just due to a test change that was
> made in HADOOP-8247, not due to any change made by the actual patch.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira