Wei-Chiu Chuang created HDFS-9285: ------------------------------------- Summary: testTruncateWithDataNodesRestartImmediately occasionally fails Key: HDFS-9285 URL: https://issues.apache.org/jira/browse/HDFS-9285 Project: Hadoop HDFS Issue Type: Bug Reporter: Wei-Chiu Chuang Priority: Minor
https://builds.apache.org/job/Hadoop-Hdfs-trunk/2462/testReport/org.apache.hadoop.hdfs.server.namenode/TestFileTruncate/testTruncateWithDataNodesRestartImmediately/ Note that this is similar, but appears to be a different failure than HDFS-8729. Error Message inode should complete in ~30000 ms. Expected: is <true> but: was <false> Stacktrace java.lang.AssertionError: inode should complete in ~30000 ms. Expected: is <true> but: was <false> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.junit.Assert.assertThat(Assert.java:865) at org.apache.hadoop.hdfs.server.namenode.TestFileTruncate.checkBlockRecovery(TestFileTruncate.java:1192) at org.apache.hadoop.hdfs.server.namenode.TestFileTruncate.checkBlockRecovery(TestFileTruncate.java:1176) at org.apache.hadoop.hdfs.server.namenode.TestFileTruncate.checkBlockRecovery(TestFileTruncate.java:1171) at org.apache.hadoop.hdfs.server.namenode.TestFileTruncate.testTruncateWithDataNodesRestartImmediately(TestFileTruncate.java:798) Log excerpt: 2015-10-22 06:34:47,281 [IPC Server handler 8 on 8020] INFO FSNamesystem.audit (FSNamesystem.java:logAuditMessage(7358)) - allowed=true ugi=jenkins (auth:SIMPLE) ip=/127.0.0.1 cmd=open src=/test/testTruncateWithDataNodesRestartImmediately dst=null perm=null proto=rpc 2015-10-22 06:34:47,382 [IPC Server handler 9 on 8020] INFO FSNamesystem.audit (FSNamesystem.java:logAuditMessage(7358)) - allowed=true ugi=jenkins (auth:SIMPLE) ip=/127.0.0.1 cmd=open src=/test/testTruncateWithDataNodesRestartImmediately dst=null perm=null proto=rpc 2015-10-22 06:34:47,484 [IPC Server handler 0 on 8020] INFO FSNamesystem.audit (FSNamesystem.java:logAuditMessage(7358)) - allowed=true ugi=jenkins (auth:SIMPLE) ip=/127.0.0.1 cmd=open src=/test/testTruncateWithDataNodesRestartImmediately dst=null perm=null proto=rpc 2015-10-22 06:34:47,585 [IPC Server handler 1 on 8020] INFO FSNamesystem.audit (FSNamesystem.java:logAuditMessage(7358)) - allowed=true ugi=jenkins (auth:SIMPLE) ip=/127.0.0.1 cmd=open src=/test/testTruncateWithDataNodesRestartImmediately dst=null perm=null proto=rpc 2015-10-22 06:34:47,689 [main] INFO hdfs.MiniDFSCluster (MiniDFSCluster.java:shutdown(1889)) - Shutting down the Mini HDFS Cluster 2015-10-22 06:34:47,690 [main] INFO hdfs.MiniDFSCluster (MiniDFSCluster.java:shutdownDataNodes(1935)) - Shutting down DataNode 2 2015-10-22 06:34:47,690 [main] WARN datanode.DirectoryScanner (DirectoryScanner.java:shutdown(529)) - DirectoryScanner: shutdown has been called -- This message was sent by Atlassian JIRA (v6.3.4#6332)