nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doğacan Güney (JIRA) <j...@apache.org>
Subject [jira] Updated: (NUTCH-550) Parse fails if db.max.outlinks.per.page is -1
Date Fri, 07 Sep 2007 08:29:31 GMT

     [ https://issues.apache.org/jira/browse/NUTCH-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doğacan Güney updated NUTCH-550:
--------------------------------

    Attachment: NUTCH-550.patch

Patch for the problem.

> Parse fails if db.max.outlinks.per.page is -1
> ---------------------------------------------
>
>                 Key: NUTCH-550
>                 URL: https://issues.apache.org/jira/browse/NUTCH-550
>             Project: Nutch
>          Issue Type: Bug
>            Reporter: Doğacan Güney
>            Assignee: Doğacan Güney
>             Fix For: 1.0.0
>
>         Attachments: NUTCH-550.patch
>
>
> See here http://www.nabble.com/nutch-nightly%3A-IllegalArgumentException%3A-Illegal-Capacity%3A--1-tf4245360.html#a12511661
> One of (my|the) earlier commits broke ParseOutputFormat such that if db.max.outlinks.per.page
is -1, ParseOutputFormat tries to create an ArrayList of size -1. The solution is to simply
make maxOutlinks variable Integer.MAX_VALUE if db.max.outlinks.per.page is -1 .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message