lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (SOLR-2805) Add a main method to ZkController so that it's easier to script config upload with SolrCloud
Date Wed, 30 Nov 2011 23:05:40 GMT

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

Mark Miller edited comment on SOLR-2805 at 11/30/11 11:05 PM:
--------------------------------------------------------------

I tend to limit by default and open when needed I guess.

FWIW, I've got code for this in the solrcloud branch now.

It lets you temporily launch a zk server, connects to it, and uploads a set of conf files
by calling (from the /solr folder in a checkout):

{noformat}java -classpath lib/*:dist/* org.apache.solr.cloud.ZkController 127.0.0.1:9983 127.0.0.1
8983 solr ../example/solr/conf conf1 example/solr/zoo_data{noformat}
                
      was (Author: markrmiller@gmail.com):
    I tend to limit by default and open when needed I guess.

FWIW, I've got code for this in the solrcloud branch now.

It lets you temporily launch a zk server, connects to it, and uploads a set of conf files
by calling (from the /solr folder in a checkout):

java -classpath lib/*:dist/* org.apache.solr.cloud.ZkController 127.0.0.1:9983 127.0.0.1 8983
solr ../example/solr/conf conf1 example/solr/zoo_data
                  
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message