You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by akhil1988 <ak...@gmail.com> on 2009/07/12 01:06:25 UTC

Restarting a killed job from where it left

HI All,

I am looking for ways to restart my hadoop job from where it left when the
entire cluster goes down or the job gets stopped due to some reason i.e. I
am looking for ways in which I can store at regular intervals the status of
my job and then when I restart the job it starts from where it left rather
than starting from the beginning again.

Can anyone please give me some reference to read about the ways to handle
this.

Thanks,
Akhil
-- 
View this message in context: http://www.nabble.com/Restarting-a-killed-job-from-where-it-left-tp24444618p24444618.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.


Re: Restarting a killed job from where it left

Posted by Mithila Nagendra <mn...@asu.edu>.
Is this a property introduced by Hadoop version 0.19.0? Where can I find out
more about this?
Thanks!
Mithila

On Tue, Jul 14, 2009 at 8:16 PM, akhil1988 <ak...@gmail.com> wrote:

>
> Thanks, Tom this was what I was looking for.
> Just to confirm it's usage - it means that upon jobtracker restart it will
> automotically discover whether it was running a job or not previously and
> if
> it was, it will restart from where it left?
>
> --Akhil
>
>
> Tom White-3 wrote:
> >
> > Hi Akhil,
> >
> > Have a look at the mapred.jobtracker.restart.recover property.
> >
> > Cheers,
> > Tom
> >
> > On Sun, Jul 12, 2009 at 12:06 AM, akhil1988<ak...@gmail.com> wrote:
> >>
> >> HI All,
> >>
> >> I am looking for ways to restart my hadoop job from where it left when
> >> the
> >> entire cluster goes down or the job gets stopped due to some reason i.e.
> >> I
> >> am looking for ways in which I can store at regular intervals the status
> >> of
> >> my job and then when I restart the job it starts from where it left
> >> rather
> >> than starting from the beginning again.
> >>
> >> Can anyone please give me some reference to read about the ways to
> handle
> >> this.
> >>
> >> Thanks,
> >> Akhil
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Restarting-a-killed-job-from-where-it-left-tp24444618p24444618.html
> >> Sent from the Hadoop core-user mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Restarting-a-killed-job-from-where-it-left-tp24444618p24483906.html
> Sent from the Hadoop core-user mailing list archive at Nabble.com.
>
>

Re: Restarting a killed job from where it left

Posted by akhil1988 <ak...@gmail.com>.
Thanks, Tom this was what I was looking for.
Just to confirm it's usage - it means that upon jobtracker restart it will
automotically discover whether it was running a job or not previously and if
it was, it will restart from where it left?

--Akhil


Tom White-3 wrote:
> 
> Hi Akhil,
> 
> Have a look at the mapred.jobtracker.restart.recover property.
> 
> Cheers,
> Tom
> 
> On Sun, Jul 12, 2009 at 12:06 AM, akhil1988<ak...@gmail.com> wrote:
>>
>> HI All,
>>
>> I am looking for ways to restart my hadoop job from where it left when
>> the
>> entire cluster goes down or the job gets stopped due to some reason i.e.
>> I
>> am looking for ways in which I can store at regular intervals the status
>> of
>> my job and then when I restart the job it starts from where it left
>> rather
>> than starting from the beginning again.
>>
>> Can anyone please give me some reference to read about the ways to handle
>> this.
>>
>> Thanks,
>> Akhil
>> --
>> View this message in context:
>> http://www.nabble.com/Restarting-a-killed-job-from-where-it-left-tp24444618p24444618.html
>> Sent from the Hadoop core-user mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Restarting-a-killed-job-from-where-it-left-tp24444618p24483906.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.


Re: Restarting a killed job from where it left

Posted by Tom White <to...@cloudera.com>.
Hi Akhil,

Have a look at the mapred.jobtracker.restart.recover property.

Cheers,
Tom

On Sun, Jul 12, 2009 at 12:06 AM, akhil1988<ak...@gmail.com> wrote:
>
> HI All,
>
> I am looking for ways to restart my hadoop job from where it left when the
> entire cluster goes down or the job gets stopped due to some reason i.e. I
> am looking for ways in which I can store at regular intervals the status of
> my job and then when I restart the job it starts from where it left rather
> than starting from the beginning again.
>
> Can anyone please give me some reference to read about the ways to handle
> this.
>
> Thanks,
> Akhil
> --
> View this message in context: http://www.nabble.com/Restarting-a-killed-job-from-where-it-left-tp24444618p24444618.html
> Sent from the Hadoop core-user mailing list archive at Nabble.com.
>
>