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

AdaptiveFetchScheduler reads nutch-default settings as float but it needs integer.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 2.3, 1.9
    • 2.5
    • fetcher
    • None

    Description

      This issue is document as follows

      > - 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.
      

      Attachments

        Activity

          People

            talat Talat Uyarer
            lewismc Lewis John McGibbney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: