Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61CDE9B2A for ; Wed, 30 Nov 2011 23:06:06 +0000 (UTC) Received: (qmail 79059 invoked by uid 500); 30 Nov 2011 23:06:03 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 78945 invoked by uid 500); 30 Nov 2011 23:06:03 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 78879 invoked by uid 99); 30 Nov 2011 23:06:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 23:06:03 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 23:06:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1EFEEAA40C for ; Wed, 30 Nov 2011 23:05:40 +0000 (UTC) Date: Wed, 30 Nov 2011 23:05:40 +0000 (UTC) From: "Mark Miller (Issue Comment Edited) (JIRA)" To: dev@lucene.apache.org Message-ID: <431644194.28372.1322694340128.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1336696780.2002.1317619053981.JavaMail.tomcat@hel.zones.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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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