You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Doğacan Güney (JIRA)" <ji...@apache.org> on 2007/09/07 10:29:30 UTC

[jira] Created: (NUTCH-550) Parse fails if db.max.outlinks.per.page is -1

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.


[jira] Updated: (NUTCH-550) Parse fails if db.max.outlinks.per.page is -1

Posted by "Doğacan Güney (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Resolved: (NUTCH-550) Parse fails if db.max.outlinks.per.page is -1

Posted by "Doğacan Güney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doğacan Güney resolved NUTCH-550.
---------------------------------

    Resolution: Fixed

Fixed in rev. 574344.

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


[jira] Commented: (NUTCH-550) Parse fails if db.max.outlinks.per.page is -1

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526362 ] 

Hudson commented on NUTCH-550:
------------------------------

Integrated in Nutch-Nightly #203 (See [http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/203/])

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


[jira] Closed: (NUTCH-550) Parse fails if db.max.outlinks.per.page is -1

Posted by "Doğacan Güney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doğacan Güney closed NUTCH-550.
-------------------------------


Resolved and committed.

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