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

Jing Zhao commented on HDFS-7226:
---------------------------------

Thanks for working on this, Yongjun! So with the current fix, is it possible 
that the DN just happens to send out an IBR (after normal waiting) right after 
receiving the data? In that case, DN may still send out both the block 
receiving and received msg. Thus maybe we can still call 
{{triggerBlockReportForTests}} here in the tests to make sure a block receiving 
report is sent out.

> TestDNFencing.testQueueingWithAppend failed often in latest test
> ----------------------------------------------------------------
>
>                 Key: HDFS-7226
>                 URL: https://issues.apache.org/jira/browse/HDFS-7226
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ha
>    Affects Versions: 2.6.0
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>         Attachments: HDFS-7226.001.patch
>
>
> Using tool from HADOOP-11045, got the following report:
> {code}
> [yzhang@localhost jenkinsftf]$ ./determine-flaky-tests-hadoop.py -j 
> PreCommit-HDFS-Build -n 1 
> ****Recently FAILED builds in url: 
> https://builds.apache.org//job/PreCommit-HDFS-Build
>     THERE ARE 9 builds (out of 9) that have failed tests in the past 1 days, 
> as listed below:
> ......
> Among 9 runs examined, all failed tests <#failedRuns: testName>:
>     7: 
> org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencing.testQueueingWithAppend
>     6: 
> org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencingWithReplication.testFencingStress
>     3: 
> org.apache.hadoop.hdfs.server.namenode.snapshot.TestOpenFilesWithSnapshot.testOpenFilesWithMultipleSnapshots
>     1: org.apache.hadoop.hdfs.server.namenode.TestEditLog.testFailedOpen
>     1: org.apache.hadoop.hdfs.server.namenode.TestEditLog.testSyncBatching
> ......
> {code}
> TestDNFencingWithReplication.testFencingStress was reported as HDFS-7221. 
> Creating this jira for TestDNFencing.testQueueingWithAppend.
> Symptom:
> {code}
> Failed
> org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencing.testQueueingWithAppend
> Failing for the past 1 build (Since Failed#8390 )
> Took 2.9 sec.
> Error Message
> expected:<18> but was:<12>
> Stacktrace
> java.lang.AssertionError: expected:<18> but was:<12>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:555)
>       at org.junit.Assert.assertEquals(Assert.java:542)
>       at 
> org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencing.testQueueingWithAppend(TestDNFencing.java:448)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to