[
https://issues.apache.org/jira/browse/SOLR-8378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15047606#comment-15047606
]
Gregory Chanan commented on SOLR-8378:
--------------------------------------
Some thoughts:
I'm on board with having useful commands in one place rather than requiring end
users know about zkcli. That said, I don't think adding more uncategorized
comands to the same script is the correct way to go. In our distribution (CDH)
we have had script that does a bunch of different actions on solr/zk and I've
found it's pretty confusing to users what command actually goes where. Ideally
the users wouldn't have to know that sort of information (at least when
starting up, but I think quickstart is a different enough use case to warrant
special consideration), but that's just not practical -- consider if the
configs znode has ACLs enabled -- you need to pass a reasonable
endpoint-specific error message back to the user, you have to have an end-point
specific mechanism to pass kerberos credentials (does this script work in a
secure environment)?, etc. So what will happen if we continue along this path
is we'll have a bunch of different useful commands where it is unclear to users
what information they actually need to provide without looking it up each time.
Heck, I wrote a lot of the commands in our distribution and I get confused :).
So, my suggestion is that we break up the commands into "subtopics" based on
the endpoint (the solr http endpoint can be an unnamed default). So long story
short, I'd argue for naming these:
zk upconfig
zk downconfig
or something like that.
> Add upconfig and downconfig commands to the bin/solr script and managed-only
> schema to configsets
> -------------------------------------------------------------------------------------------------
>
> Key: SOLR-8378
> URL: https://issues.apache.org/jira/browse/SOLR-8378
> Project: Solr
> Issue Type: Improvement
> Components: scripts and tools
> Affects Versions: 5.4, Trunk
> Reporter: Erick Erickson
> Assignee: Erick Erickson
> Priority: Minor
> Attachments: SOLR-8378.patch, SOLR-8378.patch, SOLR-8378.patch,
> SOLR-8378.patch, SOLR-8378.patch
>
>
> It would be convenient to be able to upload and download arbitrary configsets
> to Zookeeper.
> This _might_ be the last thing we need before not requiring users be aware of
> zkcli, which is awkward.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]