Lewis John McGibbney created NUTCH-1926:
-------------------------------------------
Summary: AdaptiveFetchScheduler reads nutch-default settings as
float but it needs integer.
Key: NUTCH-1926
URL: https://issues.apache.org/jira/browse/NUTCH-1926
Project: Nutch
Issue Type: Bug
Components: fetcher
Affects Versions: 1.9, 2.3
Reporter: Lewis John McGibbney
Assignee: Talat UYARER
Fix For: 2.4, 1.10
This issue is document as
[follows|http://www.mail-archive.com/dev%40nutch.apache.org/msg16088.html]
{code}
> - AdaptiveFetchSchedular do not work. In default settings float, it needs
> integer.
Confirmed, in nutch-default.xml these two properties are defined as floats
but read as integers. Configuration.getInt(name) then returns the default value.
<name>db.fetch.schedule.adaptive.min_interval</name>
<value>60.0</value>
<name>db.fetch.schedule.adaptive.max_interval</name>
<value>31536000.0</value>
Is there already a Jira open? The problem applies to 1.x and 2.x.
But it's hardly a blocker: the default values are also 60 and 31536000.
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)