You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Aaron T. Myers (JIRA)" <ji...@apache.org> on 2012/10/04 01:55:08 UTC

[jira] [Updated] (HDFS-4004) TestJournalNode#testJournal fails because of test case execution order

     [ https://issues.apache.org/jira/browse/HDFS-4004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron T. Myers updated HDFS-4004:
---------------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: HDFS-3077
    
> TestJournalNode#testJournal fails because of test case execution order
> ----------------------------------------------------------------------
>
>                 Key: HDFS-4004
>                 URL: https://issues.apache.org/jira/browse/HDFS-4004
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha
>            Reporter: Chao Shi
>            Priority: Minor
>             Fix For: QuorumJournalManager (HDFS-3077)
>
>
> I'm running HDFS test on HDFS-3077 branch. I found TestJournalNode#testJournal fails sometimes. The assertion failed is:  
> MetricsAsserts.assertCounter("BatchesWritten", 0L, metrics);
> The reason is when testHttpServer is running before testJournal, it will write some logs to JN. The fix is simple: assign a new JID for each test case, so that they will use different metrics.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira