[ 
https://issues.apache.org/jira/browse/SOLR-7921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14695405#comment-14695405
 ] 

Uwe Schindler commented on SOLR-7921:
-------------------------------------

It's also repeatable, so stopping and restarting with same command also works.

The issue I had was because I killed the server using windows task manager. 
Because of this it tried to recreate the core but failed. It seems that the 
core is persistend on disk only on "clean" shutdown. When I tried to reexceute 
the command, it tried to recreate the "half-existing" core and failed, because 
the IndexReader/Writer was already open. We should improve that (if you kill -9 
solr, it should at least keep the cores already created).

> techproducts example broken; dir with spaces; Linux/Windows
> -----------------------------------------------------------
>
>                 Key: SOLR-7921
>                 URL: https://issues.apache.org/jira/browse/SOLR-7921
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.3
>            Reporter: Ishan Chattopadhyaya
>            Assignee: Timothy Potter
>         Attachments: SOLR-7921.patch, SOLR-7921.patch, SOLR-7921.patch, 
> SOLR-7921.patch, 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to