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

2013-11-08 Thread Gera Shegalov (JIRA)

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

Gera Shegalov updated MAPREDUCE-5613:
-

Status: Patch Available  (was: Open)

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


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

2013-11-08 Thread Gera Shegalov (JIRA)

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

Gera Shegalov updated MAPREDUCE-5613:
-

Status: Open  (was: Patch Available)

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


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

2013-11-07 Thread Gera Shegalov (JIRA)

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

Gera Shegalov updated MAPREDUCE-5613:
-

Status: Patch Available  (was: Open)

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


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

2013-11-07 Thread Gera Shegalov (JIRA)

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