You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2016/06/24 08:38:16 UTC
[jira] [Commented] (SOLR-9194) Enhance the bin/solr script to
perform file operations to/from Zookeeper
[ https://issues.apache.org/jira/browse/SOLR-9194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15347995#comment-15347995 ]
Jan Høydahl commented on SOLR-9194:
-----------------------------------
No prob. This feature is going to be a super useful one.
Thinking about the "short" help printout - ut could include the usage patterns part, but you choose:
{noformat}
Usage: solr zk upconfig|downconfig -d <confdir> -n <configName> [-z zkHost]
solr zk cp [-r] <src> <dest> [-z zkHost]
solr zk rm [-r] <path> [-z zkHost]
solr zk mv <src> <dest> [-z zkHost]
{noformat}
Also I have thought about the {{file:}} prefix. Since it looks like the standardized file protocol, perhaps we should accept {{file://}} prefix as syntax as well? If we do, then that syntax would only allow for absolute file paths though. Don't know if the same makes sense for {{zk://}} though.
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org