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 2013/11/08 00:49:18 UTC

[jira] [Updated] (MAPREDUCE-5613) DefaultSpeculator.statusUpdate wastes CPU for task attempt id hashing and lookups in an unused empty CHM

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

Gera Shegalov updated MAPREDUCE-5613:
-------------------------------------

    Attachment: MAPREDUCE-5613.v01.patch

> DefaultSpeculator.statusUpdate wastes CPU for task attempt id hashing and lookups in an unused empty CHM
> --------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5613
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5613
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: applicationmaster
>            Reporter: Gera Shegalov
>         Attachments: MAPREDUCE-5613.v01.patch
>
>
> The only way pendingSpeculations is used:
> {code}
>      // If the task is already known to be speculation-bait, don't do anything   
>       if (pendingSpeculations.get(task) != null) {                                
>         if (pendingSpeculations.get(task).get()) {                                
>           return;                                                                 
>         }                                                                         
>       } 
> {code}



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