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

Expose number of URLs generated per batch in GeneratorJob

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.3
    • Component/s: generator
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      GeneratorJob contains one trivial line of logging

      GeneratorJob.java
      LOG.info("GeneratorJob: generated batch id: " + batchId);
      

      I propose to improve this logging by exposing how many URL's are contained within the generated batch. Something like

      GeneratorJob.java
      LOG.info("GeneratorJob: generated batch id: " + batchId + " containing " + $numOfURLs + " URLs");
      

        Attachments

        1. NUTCH-1738.patch
          1 kB
          Talat Uyarer

          Activity

            People

            • Assignee:
              talat Talat Uyarer
              Reporter:
              lewismc Lewis John McGibbney
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: