logo       

Re: Gracefull stop in the middle of a fetch phase ?: msg#00256

nutch-user.lucene.apache.org

Subject: Re: Gracefull stop in the middle of a fetch phase ?

2009/7/25 Andrzej Bialecki <ab@xxxxxxxxxx>:

> I solved this once by implementing a check in Fetcher.run() for a marker
> file on HDFS. If the presence of this file was detected, the FetcherThreads
> would be stopped one by one (again, by setting a flag in their run() methods
> to terminate the loop).
>

Personally I would like to see such a feature in the core code.

Alex

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise