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

Steve Rowe commented on SOLR-12434:
-----------------------------------

Attached a patch that pulls out {{-z}}/{{-zkhost}}/{{-zkHost}} and 
{{-s}}/{{-scheme}} cmdline params, and passes through all other params, so that 
{{ZK_HOST}} can be pulled from {{solr.in.sh}}/{{solr.in.cmd}} and overridden by 
cmdline params, and the same for {{SOLR_URL_SCHEME}}.

I've manually tested on Linux; todo: test on Windows.

> bin/solr config ignores ZK_HOST in solr.in.{sh,cmd}
> ---------------------------------------------------
>
>                 Key: SOLR-12434
>                 URL: https://issues.apache.org/jira/browse/SOLR-12434
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Steve Rowe
>            Assignee: Steve Rowe
>            Priority: Major
>         Attachments: SOLR-12434.patch
>
>
> {{bin/solr config}} should be usable without specifying {{-z}} or 
> {{-solrUrl}} params, if {{ZK_HOST}} is specified in 
> {{solr.in.sh}}/{{solr.in.cmd}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to