how to terminate a program in hadoop?

View: New views
5 Messages — Rating Filter:   Alert me  

how to terminate a program in hadoop?

by ma qiang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear colleagues:
         I use eclipse to develop some programs in hadoop, when
exceptions took place such as death cycle, I don't know how to
terminate it safely. Can you tell me?  Thank you very much!
         Best wishes!



Qiang Ma

Re: how to terminate a program in hadoop?

by Jeff Hammerbacher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

./bin/hadoop job -Dmapred.job.tracker=<jobtracker_host>:<jobtracker_port>
-kill <jobname>

you can find the required constants by pointing your browser to your
jobtracker.

On Jan 20, 2008 11:36 PM, ma qiang <maqiang1984@...> wrote:

> Dear colleagues:
>         I use eclipse to develop some programs in hadoop, when
> exceptions took place such as death cycle, I don't know how to
> terminate it safely. Can you tell me?  Thank you very much!
>         Best wishes!
>
>
>
> Qiang Ma
>

Re: how to terminate a program in hadoop?

by ma qiang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So I must terminate these jobs using this method you mentioned on all
the computers in my cluster, am I right?




On Jan 21, 2008 3:39 PM, Jeff Hammerbacher <jeff.hammerbacher@...> wrote:

> ./bin/hadoop job -Dmapred.job.tracker=<jobtracker_host>:<jobtracker_port>
> -kill <jobname>
>
> you can find the required constants by pointing your browser to your
> jobtracker.
>
>
> On Jan 20, 2008 11:36 PM, ma qiang <maqiang1984@...> wrote:
>
> > Dear colleagues:
> >         I use eclipse to develop some programs in hadoop, when
> > exceptions took place such as death cycle, I don't know how to
> > terminate it safely. Can you tell me?  Thank you very much!
> >         Best wishes!
> >
> >
> >
> > Qiang Ma
> >
>

Re: how to terminate a program in hadoop?

by Jeff Hammerbacher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

no, the jobtracker will take care of that for you.

On Jan 20, 2008 11:44 PM, ma qiang <maqiang1984@...> wrote:

> So I must terminate these jobs using this method you mentioned on all
> the computers in my cluster, am I right?
>
>
>
>
> On Jan 21, 2008 3:39 PM, Jeff Hammerbacher <jeff.hammerbacher@...>
> wrote:
> > ./bin/hadoop job -Dmapred.job.tracker=
> <jobtracker_host>:<jobtracker_port>
> > -kill <jobname>
> >
> > you can find the required constants by pointing your browser to your
> > jobtracker.
> >
> >
> > On Jan 20, 2008 11:36 PM, ma qiang <maqiang1984@...> wrote:
> >
> > > Dear colleagues:
> > >         I use eclipse to develop some programs in hadoop, when
> > > exceptions took place such as death cycle, I don't know how to
> > > terminate it safely. Can you tell me?  Thank you very much!
> > >         Best wishes!
> > >
> > >
> > >
> > > Qiang Ma
> > >
> >
>

Re: how to terminate a program in hadoop?

by Ted Dunning-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


The web interface can also be used.  This is handy if you are following the
progress of the job via the web.

Scroll to the bottom of the page.


On 1/20/08 11:39 PM, "Jeff Hammerbacher" <jeff.hammerbacher@...>
wrote:

> ./bin/hadoop job -Dmapred.job.tracker=<jobtracker_host>:<jobtracker_port>
> -kill <jobname>
>
> you can find the required constants by pointing your browser to your
> jobtracker.
>
> On Jan 20, 2008 11:36 PM, ma qiang <maqiang1984@...> wrote:
>
>> Dear colleagues:
>>         I use eclipse to develop some programs in hadoop, when
>> exceptions took place such as death cycle, I don't know how to
>> terminate it safely. Can you tell me?  Thank you very much!
>>         Best wishes!
>>
>>
>>
>> Qiang Ma
>>