[ 
https://issues.apache.org/jira/browse/NUTCH-2572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448312#comment-16448312
 ] 

ASF GitHub Bot commented on NUTCH-2572:
---------------------------------------

sebastian-nagel opened a new pull request #326: NUTCH-2572 HostDb: updatehostdb 
does not set values
URL: https://github.com/apache/nutch/pull/326
 
 
   - unwrap NutchWritable
   - add logging if value class is not handled

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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
>            Priority: Major
>             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)

Reply via email to