|
[
Permlink
| « Hide
]
Sami Siren added a comment - 08/Aug/06 07:09 PM
I just committed this to 0.8 branch and trunk, thanks Greg!
This fix missed 1 little change that caused BLOCKED_ADDR_TO_TIME and BLOCKED_ADDR_QUEUE to get out of sync.
To fix the problem you only need to change the remove on line 385 to: I can report the the fetch is now much faster with both of these fixes I'm having problems with the patch committed in revision #429779. I used to be having the "fetch aborted with X hung threads" problem. After updating to this revision, fetching goes fine for a while, but then I get this error on just about every page fetch attempt:
2006-08-09 23:27:28,548 INFO fetcher.Fetcher - fetching http://www.xmission.com/~nelsonb/resources.htm 2006-08-09 23:27:28,549 ERROR http.Http - java.lang.NullPointerException 2006-08-09 23:27:28,549 ERROR http.Http - at org.apache.nutch.protocol.http.api.HttpBase.cleanExpiredServerBlocks(HttpBase.java:382) 2006-08-09 23:27:28,549 ERROR http.Http - at org.apache.nutch.protocol.http.api.HttpBase.blockAddr(HttpBase.java:323) 2006-08-09 23:27:28,549 ERROR http.Http - at org.apache.nutch.protocol.http.api.HttpBase.getProtocolOutput(HttpBase.java:188) 2006-08-09 23:27:28,549 ERROR http.Http - at org.apache.nutch.fetcher.Fetcher$FetcherThread.run(Fetcher.java:144) 2006-08-09 23:27:28,549 INFO fetcher.Fetcher - fetch of http://www.xmission.com/~nelsonb/resources.htm This issue is still marked as resolved, it needs to be re-opened so the patch will be committed to SVN
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||