You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2015/08/13 15:31:46 UTC
[jira] [Commented] (SOLR-7921) techproducts example broken; dir
with spaces; Linux
[ https://issues.apache.org/jira/browse/SOLR-7921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695214#comment-14695214 ]
Erik Hatcher commented on SOLR-7921:
------------------------------------
but bin/post works :)
{code}
# -e techproducts fail...
$ bin/solr start -p 8888 -e techproducts
...
Indexing tech product example docs from /Users/erikhatcher/Downloads/solr 5.3.0-RC1/example/exampledocs
Error: Unable to access jarfile /Users/erikhatcher/Downloads/solr
ERROR: Process exited with an error: 1 (Exit value: 1)
# bin/post works...
$ bin/post -p 8888 -c techproducts example/exampledocs/*.xml
java -classpath /Users/erikhatcher/Downloads/solr 5.3.0-RC1/dist/solr-core-5.3.0.jar -Dauto=yes -Dport=8888 -Dc=techproducts -Ddata=files org.apache.solr.util.SimplePostTool example/exampledocs/gb18030-example.xml example/exampledocs/hd.xml example/exampledocs/ipod_other.xml example/exampledocs/ipod_video.xml example/exampledocs/manufacturers.xml example/exampledocs/mem.xml example/exampledocs/money.xml example/exampledocs/monitor.xml example/exampledocs/monitor2.xml example/exampledocs/mp500.xml example/exampledocs/sd500.xml example/exampledocs/solr.xml example/exampledocs/utf8-example.xml example/exampledocs/vidcard.xml
SimplePostTool version 5.0.0
...
14 files indexed.
COMMITting Solr index changes to http://localhost:8888/solr/techproducts/update...
Time spent: 0:00:00.248
{code}
Now we just need SOLR-6994
> techproducts example broken; dir with spaces; Linux
> ---------------------------------------------------
>
> Key: SOLR-7921
> URL: https://issues.apache.org/jira/browse/SOLR-7921
> Project: Solr
> Issue Type: Bug
> Affects Versions: 5.3
> Reporter: Ishan Chattopadhyaya
> Attachments: SOLR-7921.patch
>
>
> After [~thetaphi] reported that the error with spaces in dir names (SOLR-7016) has reappeared in 5.3.0 RC1, I checked the same on Linux and found it is broken. Here's the console log:
> {noformat}
> [ishan@localhost solr 530]$ bin/solr start -e techproducts
> Creating Solr home directory /home/ishan/solr 530/example/techproducts/solr
> Starting up Solr on port 8983 using command:
> bin/solr start -p 8983 -s "example/techproducts/solr"
> NOTE: Please install lsof as this script needs it to determine if Solr is listening on port 8983.
> Started Solr server on port 8983 (pid=2404). Happy searching!
> Setup new core instance directory:
> /home/ishan/solr 530/example/techproducts/solr/techproducts
> Creating new core 'techproducts' using command:
> http://localhost:8983/solr/admin/cores?action=CREATE&name=techproducts&instanceDir=techproducts
> {
> "responseHeader":{
> "status":0,
> "QTime":2671},
> "core":"techproducts"}
> Indexing tech product example docs from /home/ishan/solr 530/example/exampledocs
> Error: Unable to access jarfile /home/ishan/solr
> ERROR: Process exited with an error: 1 (Exit value: 1)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org