Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop, mail # user - how to run jobs every 30 minutes?


Copy link to this message
-
Re: how to run jobs every 30 minutes?
edward choi 2010-12-08, 05:53
My mistake. Come to think about it, you are right, I can just make an
infinite loop inside the Hadoop application.
Thanks for the reply.

2010/12/7 Harsh J <[EMAIL PROTECTED]>

> Hi,
>
> On Tue, Dec 7, 2010 at 2:25 PM, edward choi <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'm planning to crawl a certain web site every 30 minutes.
> > How would I get it done in Hadoop?
> >
> > In pure Java, I used Thread.sleep() method, but I guess this won't work
> in
> > Hadoop.
>
> Why wouldn't it? You need to manage your post-job logic mostly, but
> sleep and resubmission should work just fine.
>
> > Or if it could work, could anyone show me an example?
> >
> > Ed.
> >
>
>
>
> --
> Harsh J
> www.harshj.com
>