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 "Sandy Ryza (JIRA)" <ji...@apache.org> on 2013/11/13 03:20:17 UTC
[jira] [Updated] (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:all-tabpanel ]
Sandy Ryza updated MAPREDUCE-5613:
----------------------------------
Summary: DefaultSpeculator holds and checks hashmap that is always empty (was: DefaultSpeculator.statusUpdate wastes CPU for task attempt id hashing and lookups in an unused empty CHM)
> 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
> 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)