hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HDFS-1207) 0.20-append: stallReplicationWork should be volatile
Date Thu, 17 Jun 2010 01:41:23 GMT

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

dhruba borthakur resolved HDFS-1207.
------------------------------------

    Fix Version/s: 0.20-append
       Resolution: Fixed

I just committed this. Thanks Todd!

> 0.20-append: stallReplicationWork should be volatile
> ----------------------------------------------------
>
>                 Key: HDFS-1207
>                 URL: https://issues.apache.org/jira/browse/HDFS-1207
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.20-append
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.20-append
>
>         Attachments: hdfs-1207.txt
>
>
> the stallReplicationWork member in FSNamesystem is accessed by multiple threads without
synchronization, but isn't marked volatile. I believe this is responsible for about 1% failure
rate on TestFileAppend4.testAppendSyncChecksum* on my 8-core test boxes (looking at logs I
see replication happening even though we've supposedly disabled it)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message