hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5543) fix narrow race condition in TestPathBasedCacheRequests
Date Fri, 22 Nov 2013 13:28:44 GMT

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

Hudson commented on HDFS-5543:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1616 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1616/])
HDFS-5543. Fix narrow race condition in TestPathBasedCacheRequests (cmccabe) (cmccabe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1544310)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestCacheDirectives.java


> fix narrow race condition in TestPathBasedCacheRequests
> -------------------------------------------------------
>
>                 Key: HDFS-5543
>                 URL: https://issues.apache.org/jira/browse/HDFS-5543
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 3.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>             Fix For: 3.0.0
>
>         Attachments: HDFS-5543.001.patch, HDFS-5543.002.patch
>
>
> TestPathBasedCacheRequests has a narrow race condition in testWaitForCachedReplicasInDirectory
where an assert checking the number of bytes cached may fail.  The reason is because waitForCachedBlock
looks at the NameNode data structures directly to see how many replicas are cached, but the
scanner asynchronously updates the cache entries with this information.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message