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

CrawlDbReader -stats to show fetch time and interval

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.12
    • Fix Version/s: 1.13
    • Component/s: crawldb
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      An overview about fetch times and fetch intervals could be useful to configure a crawl. CrawlDbReader could easily calculate min, max and average and show it as part of the statistics job (command-line option -stats):

      % bin/nutch readdb .../crawldb/ -stats
      ...
      TOTAL urls:     544910
      shortest fetch interval:       7 days, 00:00:00
      avg fetch interval:            7 days, 17:43:58
      longest fetch interval:       10 days, 12:00:00
      earliest fetch time:   Wed May 25 11:42:00 CEST 2016
      avg of fetch times:    Sun Jun 05 18:11:00 CEST 2016
      latest fetch time:     Wed Jun 22 10:25:00 CEST 2016
      ...
      

        Attachments

          Activity

            People

            • Assignee:
              snagel Sebastian Nagel
              Reporter:
              snagel Sebastian Nagel

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment