Hi all,

Just to update this..I did correct a silly problem I had in the url, and
now am using the following.  In short though, I still get a
URISyntaxException.

bin/nutch index crawl/crawldb -linkdb crawl/linkdb -D
solr.server.url=http://localhost:8983/solr/nndcweb/
<http://localhost/solr/nndcweb:8983/> -D solr.server.type=cloud -D

solr.zookeeper.url=http://localhost:9983/ -dir crawl/segments/* -normalize


and


bin/nutch solrindex http://localhost:8983/solr/nndcweb
<http://localhost/solr/nndcweb:8983> crawl/crawldb -linkdb
crawl/linkdb -D solr.server.type=cloud -D
solr.zookeeper.url=http://localhost:9983/ -dir crawl/segments/*
-normalize


With the exception below:
Exception in thread "main" java.lang.IllegalArgumentException:
java.net.URISyntaxException: Illegal character in scheme name at index 15:
solr.server.url=localhost:8939/solr/nndcweb at
org.apache.hadoop.fs.Path.initialize(Path.java:206) at
org.apache.hadoop.fs.Path.(Path.java:172) at
org.apache.nutch.indexer.IndexingJob.run(IndexingJob.java:217) at
org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at
org.apache.nutch.indexer.IndexingJob.main(IndexingJob.java:231) Caused by:
java.net.URISyntaxException: Illegal character in scheme name at index 15:
solr.server.url=localhost:8939/solr/nndcweb at
java.net.URI$Parser.fail(URI.java:2848) at
java.net.URI$Parser.checkChars(URI.java:3021) at
java.net.URI$Parser.parse(URI.java:3048) at java.net.URI.(URI.java:746) at
org.apache.hadoop.fs.Path.initialize(Path.java:203)

I thought the correction of the port syntax in the URL would have fixed it
(stupid mistake on my part), but apparently not quite..

Thanks,
Tim

Reply via email to