Solr and Nutch are already setup locally (on separate directories) and I wish to crawl a URL, index it, then integrate that index into Solr.
Running this crawl on terminal:
$ bin/nutch crawl urls -solr http://localhost:8983/solr/ -depth 3 -topN 5
Reports this error on the command line:
Exception in thread "main" java.io.IOException: Job failed!
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1357)
at org.apache.nutch.indexer.IndexingJob.index(IndexingJob.java:123)
at org.apache.nutch.indexer.IndexingJob.index(IndexingJob.java:81)
at org.apache.nutch.indexer.IndexingJob.index(IndexingJob.java:65)
at org.apache.nutch.crawl.Crawl.run(Crawl.java:155)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.nutch.crawl.Crawl.main(Crawl.java:55)
That said, in my attempt to then integrate I run this command:
$ bin/nutch solrindex http://localhost:8983/solr/ crawl/crawldb -linkdb crawl/linkdb crawl/segments/*
Which reports this error on the command line:
2013-10-23 13:23:38.347 java[15444:1203] Unable to load realm info from SCDynamicStore
Indexer: java.io.IOException: Job failed!
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1357)
at org.apache.nutch.indexer.IndexingJob.index(IndexingJob.java:123)
at org.apache.nutch.indexer.IndexingJob.run(IndexingJob.java:185)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.nutch.indexer.IndexingJob.main(IndexingJob.java:195)
My environment and app versions are as follows:
- Nutch 1.7
- Solr 4.5
- MAC OSX (10.8.5)
- java version "1.6.0_51"
Suggestions would be appreciated.