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

Konstantin Boudnik commented on MAPREDUCE-1671:
-----------------------------------------------

I'm no expert in MR, however... is it possible that job never starts and this
{noformat}
+            LOG.info("Sleeping 5 seconds");
+            Thread.sleep(5000);
+          }
+        }
+      }
+    } while (!runningCount);
{noformat}
will continue indefinitely?

Otherwise it looks ok to me. 

> Test scenario for "Killing Task Attempt id till job fails"
> ----------------------------------------------------------
>
>                 Key: MAPREDUCE-1671
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1671
>             Project: Hadoop Map/Reduce
>          Issue Type: Test
>          Components: test
>            Reporter: Iyappan Srinivasan
>            Assignee: Iyappan Srinivasan
>         Attachments: TestTaskKilling.patch, TestTaskKilling.patch
>
>
> 1) In a  job, kill the task attemptid of one task.  Whenever that task  tries 
> to run again with another task atempt id for mapred.map.max.attempts times, 
> kill that task attempt id. After the mapred.map.max.attempts times, the whole 
> job should get killed.

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

Reply via email to