[
https://issues.apache.org/jira/browse/SOLR-9194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15349716#comment-15349716
]
Erick Erickson commented on SOLR-9194:
--------------------------------------
Jan:
Good questions. Here's what I'm going to do:
1> Each help text for the "zk" family of commands prings out the (now 5
commands including ls) short form with the message "Type bin/solr zk -help for
full usage help" as well. Much less overwhelming, great suggestion.
2> The annoying "you have to have started Solr at least once" is gone, gone,
gone
3> I'm not going to deal with a "proper" file: prefix. It's got to be "file:"
and that will be stripped. It looks like a rats nest. Formally, the // is
required, so to specify the root you need file:/// "but most browsers accept
file:/"... yuck. So 'file:/somewhere' is the root and 'file:somwhere' is a
relative directory... I did add a bit to the help text to make this clear.
I want to move some code around, I'm not happy with the actual code that
transfers files being scattered around several classes.
> Enhance the bin/solr script to perform file operations 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
> Attachments: SOLR-9194.patch, SOLR-9194.patch
>
>
> 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]