[
https://issues.apache.org/jira/browse/NUTCH-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Markus Jelsma reopened NUTCH-1155:
----------------------------------
For some reason, yet unknown, this minor change causes the tests to fail. I
could have expected a failure in comparison between generated records but not a
NPE with Path.
{code}
Testcase: testGenerateHostLimit took 1.307 sec
Caused an ERROR
null
java.lang.NullPointerException
at org.apache.hadoop.fs.Path.<init>(Path.java:61)
at org.apache.hadoop.fs.Path.<init>(Path.java:50)
at
org.apache.nutch.crawl.TestGenerator.testGenerateHostLimit(TestGenerator.java:151)
Testcase: testGenerateDomainLimit took 1.258 sec
Caused an ERROR
null
java.lang.NullPointerException
at org.apache.hadoop.fs.Path.<init>(Path.java:61)
at org.apache.hadoop.fs.Path.<init>(Path.java:50)
at
org.apache.nutch.crawl.TestGenerator.testGenerateDomainLimit(TestGenerator.java:207)
{code}
> Host/domain limit in generator is generate.max.count+1
> ------------------------------------------------------
>
> Key: NUTCH-1155
> URL: https://issues.apache.org/jira/browse/NUTCH-1155
> Project: Nutch
> Issue Type: Bug
> Components: generator
> Affects Versions: 1.4
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Priority: Trivial
> Fix For: 1.5
>
> Attachments: NUTCH-1155-1.5-1.patch
>
>
> Generator always outputs 1 additional URL per domain/host limit.
--
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