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

HostDb: updatehostdb does not set values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.15
    • 1.15
    • hostdb
    • None

    Description

      % bin/nutch readdb crawl/crawldb -stats -sort
      ...
      status 1 (db_unfetched):        3
         nutch.apache.org :   3
      status 2 (db_fetched):  2
         nutch.apache.org :   2
      status 6 (db_notmodified):      34
         nutch.apache.org :   34
      CrawlDb statistics: done
      
      % bin/nutch updatehostdb -hostdb  crawl/hostdb -crawldb crawl/crawldb
      UpdateHostDb: hostdb: crawl/hostdb
      UpdateHostDb: crawldb: crawl/crawldb
      UpdateHostDb: starting at 2018-04-23 13:50:33
      UpdateHostDb: finished at 2018-04-23 13:50:35, elapsed: 00:00:01
      
      % bin/nutch readhostdb crawl/hostdb -get nutch.apache.org
      ReadHostDb: get: nutch.apache.org
      0       0       0       0       0       0       0       0       0       0       0.0     1970-01-01 01:00:00
      

      Although a HostDb record is added for "nutch.apache.org", all expected values (number of fetched/unfetched/... pages, fetch time min/max/average/percentiles, etc.) are empty or zero.

      Attachments

        Issue Links

          Activity

            People

              snagel Sebastian Nagel
              snagel Sebastian Nagel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: