hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rahul k singh (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1143) runningMapTasks counter is not properly decremented in case of failed Tasks.
Date Fri, 23 Oct 2009 11:00:01 GMT

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

rahul k singh commented on MAPREDUCE-1143:
------------------------------------------

We increment runningMapTasks counter every time , we give a task speculative or non-speculative
. This counter is not decremented properly in case there is a failed task while of the speculative
attempts is alive. This is  because 

{code}
if(!tip.isRunning()) {
 decrement running counter;
}
{code}

{{tip.isRunning()}} would keep on returning true if any of the attempts in the {{tip}} are
still running. 

This would mean that for each task , we would only decrement once , whereas we are incrementing
the counter for every attempt of the task.

> runningMapTasks counter is not properly decremented in case of failed Tasks.
> ----------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1143
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1143
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: rahul k singh
>            Priority: Blocker
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message