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

Add Job Id in Job Failure messages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 1.18
    • 1.19
    • crawldb, fetcher, generator, injector
    • None
    • Patch Available

    Description

      In Job classes in case job doesn't succeed a failure message is initialized as follows:

      String message = "Generator job did not succeed, job status:"
                    + job.getStatus().getState() + ", reason: "
                    + job.getStatus().getFailureInfo();

      However, this message doesn't contain JobId which can make it really hard to reach the exact job from the logs. Adding JodId to this message will make it easier to track and locate for debugging.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              prakharchaube Prakhar Chaube
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: