Permalink
Browse files

Renamed FetcherStatus to FetcherOutlinks for the new outlinks section…

… of NUTCH-1184

git-svn-id: https://svn.apache.org/repos/asf/nutch/trunk@1221194 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent aab55ea commit 2501c9ebb2dd2df4faff665f5fa69b60c6ad0682 Markus Jelsma committed Dec 20, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/java/org/apache/nutch/fetcher/Fetcher.java
@@ -1039,7 +1039,7 @@ private ParseStatus output(Text key, CrawlDatum datum,
// Only process depth N outlinks
if (maxOutlinkDepth > 0 && outlinkDepth < maxOutlinkDepth) {
- reporter.incrCounter("FetcherStatus", "outlinks_detected", outlinks.size());
+ reporter.incrCounter("FetcherOutlinks", "outlinks_detected", outlinks.size());
// Counter to limit num outlinks to follow per page
int outlinkCounter = 0;
@@ -1050,7 +1050,7 @@ private ParseStatus output(Text key, CrawlDatum datum,
// Walk over the outlinks and add as new FetchItem to the queues
Iterator<String> iter = outlinks.iterator();
while(iter.hasNext() && outlinkCounter < maxOutlinkDepthNumLinks) {
- reporter.incrCounter("FetcherStatus", "outlinks_following", 1);
+ reporter.incrCounter("FetcherOutlinks", "outlinks_following", 1);
// Create new FetchItem with depth incremented
FetchItem fit = FetchItem.create(new Text(iter.next()), new CrawlDatum(CrawlDatum.STATUS_LINKED, interval), queueMode, outlinkDepth + 1);

0 comments on commit 2501c9e

Please sign in to comment.