You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2013/11/04 19:26:17 UTC

[jira] [Commented] (HDFS-5394) fix race conditions in DN caching and uncaching

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

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

* fix findbugs warning

* in unit test, be more careful about waiting for munlocks to happen.  Add more debug printouts on failure.

> fix race conditions in DN caching and uncaching
> -----------------------------------------------
>
>                 Key: HDFS-5394
>                 URL: https://issues.apache.org/jira/browse/HDFS-5394
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>    Affects Versions: 3.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HDFS-5394-caching.001.patch, HDFS-5394-caching.002.patch, HDFS-5394-caching.003.patch, HDFS-5394-caching.004.patch, HDFS-5394.005.patch
>
>
> The DN needs to handle situations where it is asked to cache the same replica more than once.  (Currently, it can actually do two mmaps and mlocks.)  It also needs to handle the situation where caching a replica is cancelled before said caching completes.



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