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

Eric Pugh commented on SOLR-2805:
---------------------------------

I started working on something like this, and noticed that ZkController is 
marked "final", why is that?   I ended up cut'n'paste into my own class.
                
> Add a main method to ZkController so that it's easier to script config upload 
> with SolrCloud
> --------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2805
>                 URL: https://issues.apache.org/jira/browse/SOLR-2805
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.0
>
>
> when scripting a cluster setup, it would be nice if it was easy to upload a 
> set of configs - otherwise you have to wait to start secondary servers until 
> the first server has uploaded the config - kind of a pain
> You should be able to do something like:
> java -classpath .:* org.apache.solr.cloud.ZkController 127.0.0.1:9983 
> 127.0.0.1 8983 solr /home/mark/workspace/SolrCloud/solr/example/solr/conf 
> conf1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to