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

Erick Erickson commented on SOLR-9194:
--------------------------------------

I may have some time to work with this while flying back to MI, I generally 
hate the in-flight movies anyway....

So, what do people think? Once the mechanics are in place, changing the form of 
the command is pretty easy.

The questions are:

1> Follow the ZK put/get(file) stuff or adopt the more unix-like commands. 
Straw-man: use the unix-style. More people are familiar with that than ZK

2> Require the hyphen for -cp (-rm) or take them _away_ from the 
upconfig/downconfig stuff? It looks like I added the hyphen to 
upconfig/downconfig gratuitously anyway so taking it out is no big deal 
(keeping it around for back-compat _only_ for upconfig/downconfig). straw-man: 
take it away.

> Enhance the bin/solr script to put and get arbitrary files to/from Zookeeper
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-9194
>                 URL: https://issues.apache.org/jira/browse/SOLR-9194
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>
> There are a few other files that can reasonably be pushed to Zookeeper, e.g. 
> solr.xml, security.json, clusterprops.json. Who knows? Even 
> <collection>/state.json for the brave.
> This could reduce further the need for bouncing out to zkcli.
> Assigning to myself just so I don't lose track, but I would _love_ it if 
> someone else wanted to take it...
> I'm thinking the commands would be 
> bin/solr zk -putfile -z <ensemble> -p <zookeeper path> -f <local file path>
> bin/solr zk -getfile -z <ensemble> -p <zookeeper path> -f <local file path>
> but I'm not wedded to those, all suggestions welcome.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to