Wei-Chiu Chuang created HDFS-9580:
-------------------------------------
Summary: TestComputeInvalidateWork#testDatanodeReRegistration
failed due to unexpected number of invalidate blocks.
Key: HDFS-9580
URL: https://issues.apache.org/jira/browse/HDFS-9580
Project: Hadoop HDFS
Issue Type: Bug
Components: datanode, namenode, test
Affects Versions: 3.0.0
Environment: Jenkins
Reporter: Wei-Chiu Chuang
Assignee: Wei-Chiu Chuang
The failure appeared in the trunk jenkins job.
https://builds.apache.org/job/Hadoop-Hdfs-trunk/2646/
{noformat}
Error Message
Expected invalidate blocks to be the number of DNs expected:<3> but was:<2>
Stacktrace
java.lang.AssertionError: Expected invalidate blocks to be the number of DNs
expected:<3> but was:<2>
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.apache.hadoop.hdfs.server.blockmanagement.TestComputeInvalidateWork.testDatanodeReRegistration(TestComputeInvalidateWork.java:160)
{noformat}
I think there could be a race condition between creating a file and shutting
down data nodes, which failed the test.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)