[ https://issues.apache.org/jira/browse/HDFS-15864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akira Ajisaka resolved HDFS-15864. ---------------------------------- Resolution: Duplicate Closing as duplicate of HDFS-16213. Thank you [~touchida] for your report. > TestFsDatasetImpl#testDnRestartWithHardLink fails intermittently > ---------------------------------------------------------------- > > Key: HDFS-15864 > URL: https://issues.apache.org/jira/browse/HDFS-15864 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Toshihiko Uchida > Priority: Minor > Labels: flaky-test > > This unit test failed in https://github.com/apache/hadoop/pull/2726 due to an > AssertionError. > {code} > [ERROR] > testDnRestartWithHardLink(org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl) > Time elapsed: 1.452 s <<< FAILURE! > java.lang.AssertionError > at org.junit.Assert.fail(Assert.java:86) > at org.junit.Assert.assertTrue(Assert.java:41) > at org.junit.Assert.assertTrue(Assert.java:52) > at > org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl.testDnRestartWithHardLink(TestFsDatasetImpl.java:1377) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at > org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) > at > org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at java.lang.Thread.run(Thread.java:748) > {code} > The failure occurred at the following first assertion. > {code} > cluster.restartDataNode(0); > cluster.waitDatanodeFullyStarted(cluster.getDataNodes().get(0), 60000); > cluster.triggerBlockReports(); > assertTrue(Files.exists(Paths.get(newReplicaInfo.getBlockURI()))); > assertTrue(Files.exists(Paths.get(oldReplicaInfo.getBlockURI()))); > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org