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 "Tom White (JIRA)" <ji...@apache.org> on 2012/05/07 21:14:47 UTC

[jira] [Commented] (MAPREDUCE-4230) Ensure framework counter group synchronization is correct for serialization/deserialization

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

Tom White commented on MAPREDUCE-4230:
--------------------------------------

The general pattern is to use a combination of intrinsic locks for updating counters and the Writable readFields/write methods, and Java's weakly consistent collections for views (e.g. iterators).
                
> Ensure framework counter group synchronization is correct for serialization/deserialization
> -------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4230
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4230
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Tom White
>             Fix For: 2.0.0
>
>
> FrameworkCounterGroup and FileSystemCounterGroup may be susceptible to a race outlined in https://issues.apache.org/jira/browse/MAPREDUCE-4226?focusedCommentId=13269657&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13269657 by Robert Joseph Evans.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira