You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Gerhard Gossen (JIRA)" <ji...@apache.org> on 2014/01/28 14:52:39 UTC
[jira] [Created] (NUTCH-1719) DomainStatistics fails in 2.x because
URL is not unreversed
Gerhard Gossen created NUTCH-1719:
-------------------------------------
Summary: DomainStatistics fails in 2.x because URL is not unreversed
Key: NUTCH-1719
URL: https://issues.apache.org/jira/browse/NUTCH-1719
Project: Nutch
Issue Type: Bug
Reporter: Gerhard Gossen
Attachments: domainstats.patch
With Nutch 2.x, {{nutch domainstats}} always returns the counts only for {{FETCHED}}/{{NOT_FETCHED}}. The reason is that the mapper tries to create a java.net.URL directly from the row key without unreversing it first and silently ignores the thrown exception.
The attached patch calls TableUtil.unreverseUtil first. In my test (against current 2.x-trunk) it produces correct results.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)