hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2775) HA: TestStandbyCheckpoints.testBothNodesInStandbyState fails intermittently
Date Wed, 11 Jan 2012 06:14:39 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183900#comment-13183900

Todd Lipcon commented on HDFS-2775:

bq. Should FSImage#getMostRecentCheckpointTxId perhaps be marked @VisibleForTesting?

Eh, I don't see any reason it shouldn't be used elsewhere in the code either. I generally
try to only use that when you're exposing some piece of internal state that shouldn't normally
be used from the main non-test code.
> 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
>             Fix For: HA branch (HDFS-1623)
>         Attachments: hdfs-2775.txt
> 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


View raw message