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 "Hudson (JIRA)" <ji...@apache.org> on 2013/11/13 10:41:22 UTC

[jira] [Commented] (MAPREDUCE-5613) DefaultSpeculator holds and checks hashmap that is always empty

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

Hudson commented on MAPREDUCE-5613:
-----------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #4723 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/4723/])
MAPREDUCE-5613. DefaultSpeculator holds and checks hashmap that is alway empty (Gera Shegalov via Sandy Ryza) (sandy: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1541433)
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/speculate/DefaultSpeculator.java


> DefaultSpeculator holds and checks hashmap that is always empty
> ---------------------------------------------------------------
>
>                 Key: MAPREDUCE-5613
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5613
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: applicationmaster
>            Reporter: Gera Shegalov
>            Assignee: Gera Shegalov
>             Fix For: 2.3.0
>
>         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)