[ https://issues.apache.org/jira/browse/HDFS-4004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon resolved HDFS-4004. ------------------------------- Resolution: Fixed Target Version/s: QuorumJournalManager (HDFS-3077) Hadoop Flags: Reviewed Committed to the branch, thanks Chao! > 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 > Assignee: Chao Shi > Priority: Minor > Fix For: QuorumJournalManager (HDFS-3077) > > Attachments: hdfs-4004.txt > > > 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