[ 
https://issues.apache.org/jira/browse/NUTCH-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17096338#comment-17096338
 ] 

Hudson commented on NUTCH-2776:
-------------------------------

SUCCESS: Integrated in Jenkins build Nutch-trunk #3677 (See 
[https://builds.apache.org/job/Nutch-trunk/3677/])
NUTCH-2776 Fetcher to temporarily deduplicate followed redirects - cache 
(snagel: 
[https://github.com/apache/nutch/commit/0f33d183c80e3f75f39d8ebe0dff163436b6d710])
* (edit) conf/nutch-default.xml
* (edit) src/java/org/apache/nutch/fetcher/FetcherThread.java
* (edit) src/java/org/apache/nutch/fetcher/FetchItemQueues.java


> Fetcher to temporarily deduplicate followed redirects
> -----------------------------------------------------
>
>                 Key: NUTCH-2776
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2776
>             Project: Nutch
>          Issue Type: Improvement
>          Components: fetcher
>    Affects Versions: 1.16
>            Reporter: Sebastian Nagel
>            Assignee: Sebastian Nagel
>            Priority: Major
>             Fix For: 1.17
>
>
> If fetcher follows redirect (http.redirect.max > 0), it may happen that many 
> redirects of a site point to the same URL. In this situation, it might be 
> good if fetcher could temporarily (for a configurable time period) 
> deduplicate the redirect targets and skip all redirects except the first one. 
> Typical examples of duplicated redirect targets are:
> - instead of responding with HTTP status 404:
> {noformat}
> /
> /resource-not-found
> /search/
> /404
> /error/not-found
> /err/notfound.html{noformat}
> - a page to accept/decline cookies
> {noformat}
> /cookie_usage.php
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to