hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12715) TestValueQueue#testgetAtMostPolicyALL fails intermittently
Date Sat, 16 Jan 2016 02:19:39 GMT

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

Mingliang Liu commented on HADOOP-12715:
----------------------------------------

Thanks for working on this. I think your analysis is correct.

If there is any execution exception, we swallow the exception here. Should we retry (returning
false) or simply end waiting (returning true)?
{code}
+        } catch (ExecutionException e) {
+          LOG.error("Exception when getSize.", e);
+          return false;
+        }
+      }
{code}

> TestValueQueue#testgetAtMostPolicyALL fails intermittently
> ----------------------------------------------------------
>
>                 Key: HADOOP-12715
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12715
>             Project: Hadoop Common
>          Issue Type: Test
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>         Attachments: HADOOP-12715.01.patch
>
>
> The test fails intermittently with the following error.
> Error Message
> {noformat}
> expected:<19> but was:<10>
> {noformat}
> Stacktrace
> {noformat}
> java.lang.AssertionError: expected:<19> but was:<10>
> 	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.crypto.key.TestValueQueue.testgetAtMostPolicyALL(TestValueQueue.java:149)
> {noformat}



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

Mime
View raw message