You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2013/11/21 04:35:35 UTC
[jira] [Created] (HDFS-5543) fix narrow race condition in
TestPathBasedCacheRequests
Colin Patrick McCabe created HDFS-5543:
------------------------------------------
Summary: 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
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)