Hi,

When I specify solr in command line, There will be an exception thrown.
Command line: urls -solr http://localhost:8080/solr/ -depth 1 -topN 3
I tried to add '-batch 3' parameter into command line, but it doesn't help. I 
looked into the code, and found the parameter is ignored somewhere.
So, how do I fix this? Thanks.

Skipping http://www.iguuu.com/thread-944-1-1.html; different batch id (null)
Skipping http://www.iguuu.com/thread-987-1-1.html; different batch id (null)
Exception in thread "main" java.lang.NullPointerException
    at java.util.Hashtable.put(Unknown Source)
    at java.util.Properties.setProperty(Unknown Source)
    at org.apache.hadoop.conf.Configuration.set(Configuration.java:438)
    at org.apache.nutch.indexer.IndexerJob.createIndexJob(IndexerJob.java:128)
    at org.apache.nutch.indexer.solr.SolrIndexerJob.run(SolrIndexerJob.java:44)
    at org.apache.nutch.crawl.Crawler.runTool(Crawler.java:68)
    at org.apache.nutch.crawl.Crawler.run(Crawler.java:192)
    at org.apache.nutch.crawl.Crawler.run(Crawler.java:250)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at org.apache.nutch.crawl.Crawler.main(Crawler.java:257)

Regards,
Rui

Reply via email to