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

Sandy Ryza commented on MAPREDUCE-5613:
---------------------------------------

+1

> 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)

Reply via email to