Sebastian Nagel created NUTCH-2572:
--------------------------------------
Summary: HostDb: updatehostdb does not set values
Key: NUTCH-2572
URL: https://issues.apache.org/jira/browse/NUTCH-2572
Project: Nutch
Issue Type: Bug
Components: hostdb
Affects Versions: 1.15
Reporter: Sebastian Nagel
Fix For: 1.15
{noformat}
% 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
{noformat}
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)