You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Gera Shegalov (JIRA)" <ji...@apache.org> on 2012/12/04 20:28:59 UTC
[jira] [Updated] (MAPREDUCE-4844) Counters.java doesn't obey Java
Memory Model
[ https://issues.apache.org/jira/browse/MAPREDUCE-4844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gera Shegalov updated MAPREDUCE-4844:
-------------------------------------
Attachment: MAPREDUCE-4844-branch-1.patch
> Counters.java doesn't obey Java Memory Model
> --------------------------------------------
>
> Key: MAPREDUCE-4844
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4844
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 1.0.4
> Reporter: Gera Shegalov
> Attachments: MAPREDUCE-4844-branch-1.patch
>
>
> Counters have a number of immutable fields that have not been declared 'final'.
> For example, the field groups is not final. It is, however, accessed in a couple of methods that are declared 'synchronized'. While there is a happens-before relationship between these methods calls, there is none between the Counters object initialization and these synchronized methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira