hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6257) TestCacheDirectives#testExceedsCapacity fails occasionally in trunk
Date Mon, 09 Jun 2014 18:25:04 GMT

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

Colin Patrick McCabe commented on HDFS-6257:
--------------------------------------------

The current check should always succeed if the code being tested is correct, so it's not racy
in that sense.  We could wait for more DN cache reports, but since the DNs are full they shouldn't
change.  Since we test the cache reports elsewhere, I think it's probably fine as-is, what
do you think?

> TestCacheDirectives#testExceedsCapacity fails occasionally in trunk
> -------------------------------------------------------------------
>
>                 Key: HDFS-6257
>                 URL: https://issues.apache.org/jira/browse/HDFS-6257
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: caching
>    Affects Versions: 2.4.0
>            Reporter: Ted Yu
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-6257.001.patch
>
>
> From https://builds.apache.org/job/Hadoop-Hdfs-trunk/1736/ :
> REGRESSION:  org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives.testExceedsCapacity
> {code}
> Error Message:
> Namenode should not send extra CACHE commands expected:<0> but was:<2>
> Stack Trace:
> java.lang.AssertionError: Namenode should not send extra CACHE commands expected:<0>
but was:<2>
>         at org.junit.Assert.fail(Assert.java:93)
>         at org.junit.Assert.failNotEquals(Assert.java:647)
>         at org.junit.Assert.assertEquals(Assert.java:128)
>         at org.junit.Assert.assertEquals(Assert.java:472)
>         at org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives.testExceedsCapacity(TestCacheDirectives.java:1419)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message