You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tomás Fernández Löbbe (JIRA)" <ji...@apache.org> on 2012/12/10 18:55:21 UTC

[jira] [Updated] (SOLR-4028) When using ZK chroot, it would be nice if Solr would create the initial path when it doesn't exist.

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

Tomás Fernández Löbbe updated SOLR-4028:
----------------------------------------

    Attachment: SOLR-4028.patch

With this patch, the initial path is created only when bootstrap_conf or boostrap_confdir are specified. 
ZkCli also creates the initial path when the command is upconfig or bootstrap are used
                
> When using ZK chroot, it would be nice if Solr would create the initial path when it doesn't exist.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4028
>                 URL: https://issues.apache.org/jira/browse/SOLR-4028
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Tomás Fernández Löbbe
>            Priority: Minor
>         Attachments: SOLR-4028.patch, SOLR-4028.patch
>
>
> I think this would make it easier to test and develop with SolrCloud, in order to start with a fresh ZK directory now the approach is to delete ZK data, with this improvement one could just add a chroot to the zkHost like:
> java -DzkHost=localhost:2181/testXYZ -jar start.jar
> Right now this is possible but you have to manually create the initial path. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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