nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Nagel (JIRA)" <>
Subject [jira] [Commented] (NUTCH-2442) Injector to stop if job fails to avoid loss of CrawlDb
Date Fri, 03 Nov 2017 22:35:00 GMT


Sebastian Nagel commented on NUTCH-2442:

Yes, that's it essentially, plus making sure that all exceptions are caught. I've also did
some work on it, fixed Injector ([2406c3e|],
but didn't continue with the other classes. Feel free to take over. But I would prefer to
fix this separately from NUTCH-2375: it's better to pick the lower hanging fruits first. Thanks!

> Injector to stop if job fails to avoid loss of CrawlDb
> ------------------------------------------------------
>                 Key: NUTCH-2442
>                 URL:
>             Project: Nutch
>          Issue Type: Bug
>          Components: injector
>    Affects Versions: 1.13
>            Reporter: Sebastian Nagel
>            Priority: Critical
>             Fix For: 1.14
> Injector does not check whether the MapReduce job is successful. Even if the job fails
> - installs the CrawlDb
> -- move current/ to old/
> -- replace current/ with an empty or potentially incomplete version
> - exits with code 0 so that scripts running the crawl workflow cannot detect the failure
-- if Injector is run a second time the CrawlDb is lost (both current/ and old/ are empty
or corrupted)

This message was sent by Atlassian JIRA

View raw message