You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Rohana Rajapakse <Ro...@gossinteractive.com> on 2016/04/15 12:28:28 UTC

Error starting Solr-6.0.0 in HDFS mode (in Windows 7)

java.nio.file.InvalidPathException:java.nio.file.InvalidPathException: Illegal char <:> at index 4: hdfs:\\myserver:9000\solr

It doesn't like the colon.  I have tried starting solr on windows command line with:

bin/solr start -Dsolr.directoryFactory=HdfsDirectoryFactory
     -Dsolr.lock.type=hdfs
     -Dsolr.data.dir=hdfs://host:port/path
     -Dsolr.updatelog=hdfs://host:port/path

And also by doing necessary the setting in solrconfig.xml file.

I am using solr-6.0.0


Rohana




Registered Office: 24 Darklake View, Estover, Plymouth, PL6 7TL.
Company Registration No: 3553908

This email contains proprietary information, some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this email, please notify the author by replying to this email. If you are not the intended recipient you may not use, disclose, distribute, copy, print or rely on this email.

Email transmission cannot be guaranteed to be secure or error free, as information may be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. This email and any files attached to it have been checked with virus detection software before transmission. You should nonetheless carry out your own virus check before opening any attachment. GOSS Interactive Ltd accepts no liability for any loss or damage that may be caused by software viruses.