You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Benoit Mathieu <bm...@deezer.com> on 2012/07/04 16:57:30 UTC

mapred yarn kill job/application

Hi all,

How do you kill a job or application when using mapred V2 yarn ?

I tried the following :

> mapred job -kill job_1341398677537_0020
Could not find job job_1341398677537_0020

I tried the application id, but it is invalid.

I'm using CDH4.

++
benoit

Re: mapred yarn kill job/application

Posted by Harsh J <ha...@cloudera.com>.
Hi Benoit,

Moving this to CDH-users list, as it may be CDH4 related.
(http://groups.google.com/a/cloudera.org/group/cdh-user/)

This should've worked (I just tried it against both MR1 and MR2 again,
to be sure).

Are you running both MR1 and YARN services by any chance? I think the
command may have hit the JT (bad HADOOP_MAPRED_HOME value) and not the
MR AM under YARN instead.

On Wed, Jul 4, 2012 at 8:27 PM, Benoit Mathieu <bm...@deezer.com> wrote:
> Hi all,
>
> How do you kill a job or application when using mapred V2 yarn ?
>
> I tried the following :
>
>> mapred job -kill job_1341398677537_0020
> Could not find job job_1341398677537_0020
>
> I tried the application id, but it is invalid.
>
> I'm using CDH4.
>
> ++
> benoit



-- 
Harsh J