[
https://issues.apache.org/jira/browse/HDFS-7226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yongjun Zhang updated HDFS-7226:
--------------------------------
Status: Patch Available (was: Open)
Submit patch 001.
HI [~jingzhao] and [~kihwal],
I found that the failure reported in this jira is also introduced by the
HDFS-7217 fix. But the issue took me some time to understand.
Basically, because of HDFS-7217 change, reporting of ReceivingBlock to NN is
delayed, in the reported testcase, they are replaced by ReceivedBlock later
(see comment in the comment I put in the patch).
Thanks Jing for the help on HDFS-7236. Would any of you please help taking a
look at the patch?
Thanks a lot.
> 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)