Author: ab Date: Mon Jul 24 01:40:19 2006 New Revision: 424965 URL: http://svn.apache.org/viewvc?rev=424965&view=rev Log: Set job names (NUTCH-329).
Modified: lucene/nutch/trunk/src/java/org/apache/nutch/crawl/CrawlDbReader.java Modified: lucene/nutch/trunk/src/java/org/apache/nutch/crawl/CrawlDbReader.java URL: http://svn.apache.org/viewvc/lucene/nutch/trunk/src/java/org/apache/nutch/crawl/CrawlDbReader.java?rev=424965&r1=424964&r2=424965&view=diff ============================================================================== --- lucene/nutch/trunk/src/java/org/apache/nutch/crawl/CrawlDbReader.java (original) +++ lucene/nutch/trunk/src/java/org/apache/nutch/crawl/CrawlDbReader.java Mon Jul 24 01:40:19 2006 @@ -341,6 +341,7 @@ Integer.toString(new Random().nextInt(Integer.MAX_VALUE))); JobConf job = new NutchJob(config); + job.setJobName("topN prepare " + crawlDb); job.addInputPath(new Path(crawlDb, CrawlDatum.DB_DIR_NAME)); job.setInputFormat(SequenceFileInputFormat.class); job.setInputKeyClass(UTF8.class); @@ -361,6 +362,7 @@ LOG.info("CrawlDb topN: collecting topN scores."); } job = new NutchJob(config); + job.setJobName("topN collect " + crawlDb); job.setLong("CrawlDbReader.topN", topN); job.addInputPath(tempDir); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nutch-cvs mailing list Nutch-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nutch-cvs