You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Markus Jelsma (Created) (JIRA)" <ji...@apache.org> on 2011/10/05 13:44:34 UTC

[jira] [Created] (NUTCH-1150) http.redirect.max can causes multiple parses of the url

http.redirect.max can causes multiple parses of the url
-------------------------------------------------------

                 Key: NUTCH-1150
                 URL: https://issues.apache.org/jira/browse/NUTCH-1150
             Project: Nutch
          Issue Type: Bug
    Affects Versions: 1.3, 1.4
            Reporter: Markus Jelsma
             Fix For: 1.5


With http.redirect.max > 0 it's possible that a document is parsed multiple times. This is the case when several url's from the same fetch redirect to a shared location.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (NUTCH-1150) http.redirect.max can lead to multiple parses of the same url

Posted by "Vijith V (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445903#comment-13445903 ] 

Vijith V commented on NUTCH-1150:
---------------------------------

Here is my setup. Page1 (only seed) has links to Page2 and Page3, both of which redirect to Page4. So I guess Pages 2 and 3 will be in the same fetch list. But I don't see Page4 parsed twice.
                
> http.redirect.max can lead to multiple parses of the same url
> -------------------------------------------------------------
>
>                 Key: NUTCH-1150
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1150
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.3, 1.4
>            Reporter: Markus Jelsma
>             Fix For: 1.6
>
>
> With http.redirect.max > 0 it's possible that a document is parsed multiple times. This is the case when several url's from the same fetch redirect to a shared location.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (NUTCH-1150) http.redirect.max can lead to multiple parses of the same url

Posted by "Vijith Kumar V (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445874#comment-13445874 ] 

Vijith Kumar V commented on NUTCH-1150:
---------------------------------------

I have tried running nutch with a sample site with two different urls redirecting to a common resource and http.redirect.max > 0.
I could not find any clues, from hadoop.log, where the common resource is parsed multiple times.
Could some one please explain the exact scenario that causes this bug.
                
> http.redirect.max can lead to multiple parses of the same url
> -------------------------------------------------------------
>
>                 Key: NUTCH-1150
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1150
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.3, 1.4
>            Reporter: Markus Jelsma
>             Fix For: 1.6
>
>
> With http.redirect.max > 0 it's possible that a document is parsed multiple times. This is the case when several url's from the same fetch redirect to a shared location.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (NUTCH-1150) http.redirect.max can lead to multiple parses of the same url

Posted by "Vijith V (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445918#comment-13445918 ] 

Vijith V edited comment on NUTCH-1150 at 9/1/12 12:33 AM:
----------------------------------------------------------

Yes I was doing so. Thanks. I tried with fetcher.parse. Now it fetched Page4 twice.
                
      was (Author: vijithv):
    Yes I was doing so. Thanks. I tried with fetcher.parse. Now it fetched Page4 twice. So how does it relate to NUTCH-1184. Should I look into that.
                  
> http.redirect.max can lead to multiple parses of the same url
> -------------------------------------------------------------
>
>                 Key: NUTCH-1150
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1150
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.3, 1.4
>            Reporter: Markus Jelsma
>             Fix For: 1.6
>
>
> With http.redirect.max > 0 it's possible that a document is parsed multiple times. This is the case when several url's from the same fetch redirect to a shared location.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (NUTCH-1150) http.redirect.max can lead to multiple parses of the same url

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445907#comment-13445907 ] 

Markus Jelsma commented on NUTCH-1150:
--------------------------------------

Ah, i assume you're doing the parse step separate from the fetch job? Try running the fetcher with fetcher.parse.
                
> http.redirect.max can lead to multiple parses of the same url
> -------------------------------------------------------------
>
>                 Key: NUTCH-1150
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1150
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.3, 1.4
>            Reporter: Markus Jelsma
>             Fix For: 1.6
>
>
> With http.redirect.max > 0 it's possible that a document is parsed multiple times. This is the case when several url's from the same fetch redirect to a shared location.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (NUTCH-1150) http.redirect.max can lead to multiple parses of the same url

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445883#comment-13445883 ] 

Markus Jelsma commented on NUTCH-1150:
--------------------------------------

Make sure you have two pages pointing to a different URL but redirecting to the same. If URL's X and Y are in the same fetch list and redirect to the same URL, it will be followed twice.

                
> http.redirect.max can lead to multiple parses of the same url
> -------------------------------------------------------------
>
>                 Key: NUTCH-1150
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1150
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.3, 1.4
>            Reporter: Markus Jelsma
>             Fix For: 1.6
>
>
> With http.redirect.max > 0 it's possible that a document is parsed multiple times. This is the case when several url's from the same fetch redirect to a shared location.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (NUTCH-1150) http.redirect.max can lead to multiple parses of the same url

Posted by "Vijith V (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vijith V updated NUTCH-1150:
----------------------------

    Attachment: NUTCH-1150.patch

Please review the patch.
                
> http.redirect.max can lead to multiple parses of the same url
> -------------------------------------------------------------
>
>                 Key: NUTCH-1150
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1150
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.3, 1.4
>            Reporter: Markus Jelsma
>             Fix For: 1.6
>
>         Attachments: NUTCH-1150.patch
>
>
> With http.redirect.max > 0 it's possible that a document is parsed multiple times. This is the case when several url's from the same fetch redirect to a shared location.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (NUTCH-1150) http.redirect.max can lead to multiple parses of the same url

Posted by "Markus Jelsma (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma updated NUTCH-1150:
---------------------------------

    Summary: http.redirect.max can lead to multiple parses of the same url  (was: http.redirect.max can causes multiple parses of the url)
    
> http.redirect.max can lead to multiple parses of the same url
> -------------------------------------------------------------
>
>                 Key: NUTCH-1150
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1150
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.3, 1.4
>            Reporter: Markus Jelsma
>             Fix For: 1.5
>
>
> With http.redirect.max > 0 it's possible that a document is parsed multiple times. This is the case when several url's from the same fetch redirect to a shared location.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (NUTCH-1150) http.redirect.max can lead to multiple parses of the same url

Posted by "Vijith V (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445918#comment-13445918 ] 

Vijith V commented on NUTCH-1150:
---------------------------------

Yes I was doing so. Thanks. I tried with fetcher.parse. Now it fetched Page4 twice. So how does it relate to NUTCH-1184. Should I look into that.
                
> http.redirect.max can lead to multiple parses of the same url
> -------------------------------------------------------------
>
>                 Key: NUTCH-1150
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1150
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.3, 1.4
>            Reporter: Markus Jelsma
>             Fix For: 1.6
>
>
> With http.redirect.max > 0 it's possible that a document is parsed multiple times. This is the case when several url's from the same fetch redirect to a shared location.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (NUTCH-1150) http.redirect.max can lead to multiple parses of the same url

Posted by "Markus Jelsma (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma updated NUTCH-1150:
---------------------------------

    Fix Version/s:     (was: 1.5)
                   1.6

20120304-push-1.6
                
> http.redirect.max can lead to multiple parses of the same url
> -------------------------------------------------------------
>
>                 Key: NUTCH-1150
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1150
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.3, 1.4
>            Reporter: Markus Jelsma
>             Fix For: 1.6
>
>
> With http.redirect.max > 0 it's possible that a document is parsed multiple times. This is the case when several url's from the same fetch redirect to a shared location.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira