Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2442

Injector to stop if job fails to avoid loss of CrawlDb

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.13
    • Fix Version/s: 1.14
    • Component/s: injector
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wastl-nagel Sebastian Nagel
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: