[
https://issues.apache.org/jira/browse/SOLR-7921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ishan Chattopadhyaya updated SOLR-7921:
---------------------------------------
Attachment: SOLR-7921.patch
In my previously attached patch, the java -jar command uses double quotes
around the jar file. This seems to work fine in shell (bash and sh), but still
fails through the executor.execute(). Attaching a new patch that bypasses that
code path altogether.
Seems to work, based on a manual test. Will write a unit test for this next,
unless we can actually want to do the SOLR-6994 before the release.
> 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, 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]