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] [Updated] (HDFS-5543) fix narrow race condition in TestPathBasedCacheRequests
Date Thu, 21 Nov 2013 17:40:35 GMT

     [ https://issues.apache.org/jira/browse/HDFS-5543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Colin Patrick McCabe updated HDFS-5543:

    Attachment: HDFS-5543.002.patch

rebase on trunk.  improve log message.

> 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
>         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

View raw message