lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SOLR-10735) Solr is broken when directory with spaces used on Windows
Date Fri, 26 May 2017 20:46:04 GMT

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

Jan Høydahl commented on SOLR-10735:
------------------------------------

I think this is the offender: https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/util/SolrCLI.java#L2944
On normal solr start {{-script}} is not passed. but for example it is, and as u can see, not
quoted.
Instead of ugly string magic we should use {{CommandLine.addArgument()}} or JRE builtin launcher..

> Solr is broken when directory with spaces used on Windows
> ---------------------------------------------------------
>
>                 Key: SOLR-10735
>                 URL: https://issues.apache.org/jira/browse/SOLR-10735
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.5
>            Reporter: Ishan Chattopadhyaya
>         Attachments: Screenshot from 2017-05-24 21-00-29.png, Screenshot from 2017-05-27
01-49-43.png
>
>
> [~thetaphi] mentioned this in the 6.6 RC1 voting thread:
> {code}
> The startup script (Windows at least) again does not work with whitepsace directory names,
which is standard on Windows. It does give an error message not while server startup, but
when trying to create the techproducts core. I am about to open issue.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message