hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6518) TestCacheDirectives#testExceedsCapacity should take FSN read lock when accessing pendingCached list
Date Tue, 17 Jun 2014 01:13:02 GMT

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

Yongjun Zhang commented on HDFS-6518:
-------------------------------------

Thanks Andrew for the quick fix and Colin for the review!


> TestCacheDirectives#testExceedsCapacity should take FSN read lock when accessing pendingCached
list
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-6518
>                 URL: https://issues.apache.org/jira/browse/HDFS-6518
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Yongjun Zhang
>            Assignee: Andrew Wang
>             Fix For: 2.5.0
>
>         Attachments: HDFS-6518.001.patch
>
>
> Observed from 
> https://builds.apache.org/job/PreCommit-HDFS-Build/7080//testReport/
> Test 
> org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives.testExceedsCapacity
> fails intermittently
> {code}
> Failing for the past 1 build (Since Failed#7080 )
> Took 7.3 sec.
> Stacktrace
> java.lang.AssertionError: null
> 	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.namenode.TestCacheDirectives.checkPendingCachedEmpty(TestCacheDirectives.java:1416)
> 	at org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives.testExceedsCapacity(TestCacheDirectives.java:1437)
> {code}
> A second run with the same code is successful,
> https://builds.apache.org/job/PreCommit-HDFS-Build/7082//testReport/
> Running it locally is also successful.
>  HDFS-6257 mentioned about possible race, maybe the issue is still there.
> Thanks.



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

Mime
View raw message