hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9376) TestSeveralNameNodes fails occasionally
Date Wed, 04 Nov 2015 16:52:28 GMT

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

Kihwal Lee commented on HDFS-9376:
----------------------------------

This is what we get.

{panel}
Running org.apache.hadoop.hdfs.server.namenode.ha.TestSeveralNameNodes
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 128.809 sec <<< FAILURE!
- in org.apache.hadoop.hdfs.server.namenode.ha.TestSeveralNameNodes
testCircularLinkedListWrites(org.apache.hadoop.hdfs.server.namenode.ha.TestSeveralNameNodes)
 Time elapsed: 128.646 sec  <<< FAILURE!
java.lang.AssertionError: Some writers didn't complete in expected runtime! Current writer
state:\[Circular Writer:
	 directory: /test-1
	 target length: 50
	 current item: 49
	 done: false
\] expected:<0> but was:<1>
	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)
{panel}

When I tried following, it passed more reliably, but there might be a better fix or a more
fundamental issue in the core code.
{code}
-  private static final long RUNTIME = 100000;
+  private static final long RUNTIME = 150000;
{code}

> TestSeveralNameNodes fails occasionally
> ---------------------------------------
>
>                 Key: HDFS-9376
>                 URL: https://issues.apache.org/jira/browse/HDFS-9376
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Kihwal Lee
>
> TestSeveralNameNodes has been failing in precommit builds.  It usually times out on waiting
for the last thread to finish writing.



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

Mime
View raw message