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

Expose number of URLs generated per batch in GeneratorJob

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.3
    • generator
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: