[
https://issues.apache.org/jira/browse/HDFS-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron T. Myers updated HDFS-2764:
---------------------------------
Attachment: HDFS-2764.patch
Here's a patch which addresses the issue.
The trouble was that a helper method used by both failing tests had a race
condition. In waitCheckpointDone, the test would just wait for the BN to get a
particular fsimage snapshot, and then assert that the NN also had that fsimage
snapshot, even though the BN might not have uploaded it back to the NN yet.
While I was in this test class I also took the liberty of updating it to a
JUnit 4-style test.
I guess it was failing consistently on my box because it's an SSD, and things
just move too damn fast.
> TestBackupNode is failing
> -------------------------
>
> Key: HDFS-2764
> URL: https://issues.apache.org/jira/browse/HDFS-2764
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.24.0
> Reporter: Aaron T. Myers
> Assignee: Aaron T. Myers
> Attachments: HDFS-2764.patch
>
>
> Looks like it has been for a few days.
--
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