[
https://issues.apache.org/jira/browse/NUTCH-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939912#comment-13939912
]
Hudson commented on NUTCH-1738:
-------------------------------
SUCCESS: Integrated in Nutch-nutchgora #958 (See
[https://builds.apache.org/job/Nutch-nutchgora/958/])
NUTCH-1738 Expose number of URLs generated per batch in GeneratorJob (lewismc:
http://svn.apache.org/viewvc/nutch/branches/2.x/?view=rev&rev=1579072)
* /nutch/branches/2.x/CHANGES.txt
* /nutch/branches/2.x/src/java/org/apache/nutch/crawl/GeneratorJob.java
* /nutch/branches/2.x/src/java/org/apache/nutch/crawl/GeneratorReducer.java
> Expose number of URLs generated per batch in GeneratorJob
> ---------------------------------------------------------
>
> Key: NUTCH-1738
> URL: https://issues.apache.org/jira/browse/NUTCH-1738
> Project: Nutch
> Issue Type: Bug
> Components: generator
> Affects Versions: 2.2.1
> Reporter: Lewis John McGibbney
> Assignee: Talat UYARER
> Fix For: 2.3
>
> Attachments: NUTCH-1738.patch
>
>
> GeneratorJob contains one trivial line of logging
> {code:title=GeneratorJob.java|borderStyle=solid}
> LOG.info("GeneratorJob: generated batch id: " + batchId);
> {code}
> I propose to improve this logging by exposing how many URL's are contained
> within the generated batch. Something like
> {code:title=GeneratorJob.java|borderStyle=solid}
> LOG.info("GeneratorJob: generated batch id: " + batchId + " containing " +
> $numOfURLs + " URLs");
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)