You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Timothy Potter (JIRA)" <ji...@apache.org> on 2015/05/02 00:54:07 UTC

[jira] [Updated] (SOLR-7102) bin/solr should activate cloud mode if ZK_HOST is set

     [ https://issues.apache.org/jira/browse/SOLR-7102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Potter updated SOLR-7102:
---------------------------------
    Attachment: SOLR-7102.patch

Simple fix to set SOLR_MODE=solrcloud if ZK_HOST is set.

> bin/solr should activate cloud mode if ZK_HOST is set
> -----------------------------------------------------
>
>                 Key: SOLR-7102
>                 URL: https://issues.apache.org/jira/browse/SOLR-7102
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Timothy Potter
>            Assignee: Timothy Potter
>         Attachments: SOLR-7102.patch
>
>
> you have to set SOLR_MODE=solrcloud in the /var/solr/solr.in.sh to get the init.d/solr script to start Solr in cloud mode (since it doesn't pass -c). What should happen is that the bin/solr script should assume cloud mode if ZK_HOST is set.
> This mainly affects the /etc/init.d/solr script because it doesn't pass the -c | -cloud option. If working with bin/solr directly, you can just pass the -c explicitly to get cloud mode.



--
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