[
https://issues.apache.org/jira/browse/HDFS-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183502#comment-13183502
]
Todd Lipcon commented on HDFS-2775:
-----------------------------------
Yes, this just a test race. The issue is that the checkpoint is saved to
storage, and only after that is {{mostRecentCheckpointTxId}} updated. So, the
test sees the checkpoint and then the assert fails. We should probably fix this
with some simple synchronization - but it's only a test problem and not a code
issue.
> HA: TestStandbyCheckpoints.testBothNodesInStandbyState fails intermittently
> ---------------------------------------------------------------------------
>
> Key: HDFS-2775
> URL: https://issues.apache.org/jira/browse/HDFS-2775
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, test
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
>
> This test is failing periodically on this assertion:
> {code}
> assertEquals(12, nn0.getNamesystem().getFSImage().getStorage()
> .getMostRecentCheckpointTxId());
> {code}
> My guess is it's a test race. Investigating...
--
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