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

Vinod Kumar Vavilapalli commented on MAPREDUCE-3054:
----------------------------------------------------

The sleep for 10 mins is also brittle, especially for medium to big-sized jobs 
given we already sleep for 5 secs in MRAM before shutdown.

But I wouldn't hold that against this patch. This one clearly solves killing of 
apps in submitted state. Will open a separate ticket for Job.forceKill() api.

Looked at the patch myself too. Mostly lgtm.

One minor comment: Is BareBonesDispatcher same as InlineDispatcher? If so, you 
can promote the later to hadoop-yarn-common and drop the earlier.
                
> Unable to kill submitted jobs
> -----------------------------
>
>                 Key: MAPREDUCE-3054
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3054
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Siddharth Seth
>            Assignee: Mahadev konar
>            Priority: Blocker
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-3054.patch, MAPREDUCE-3054.patch, 
> MAPREDUCE-3054.patch, MAPREDUCE-3054.patch, MAPREDUCE-3054.patch, 
> MAPREDUCE-3054.patch
>
>
> Found by Philip Su
> The "mapred job -kill" command
> appears to succeed, but listing the jobs again shows that the job supposedly 
> killed is still there. 
> {code}
> mapred job -list
> Total jobs:2
> JobId   State   StartTime       UserName        Queue   Priority        
> SchedulingInfo
> job_1316203984216_0002  PREP    1316204924937   hadoopqa        default NORMAL
> job_1316203984216_0001  PREP    1316204031206   hadoopqa        default NORMAL
> mapred job -kill job_1316203984216_0002
> Killed job job_1316203984216_0002
> mapred job -list
> Total jobs:2
> JobId   State   StartTime       UserName        Queue   Priority        
> SchedulingInfo
> job_1316203984216_0002  PREP    1316204924937   hadoopqa        default NORMAL
> job_1316203984216_0001  PREP    1316204031206   hadoopqa        default NORMAL
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to