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

Jan Høydahl edited comment on SOLR-4052 at 5/8/18 10:30 AM:
------------------------------------------------------------

We already have APIs for most things you need to do in ZK on a daily basis:
 * Upload config sets
 * Modify schema and config
 * Modify security settings (perhaps except the initial upload of security.json)

I think it is acceptable that typical install actions such as changing 
urlScheme or bootstrapping {{security.json}} must happen directly to ZK.

Question is whether we want Admin UI support for uploading config sets?

I'd rather see improved support for managed components so you never need to 
upload {{elevate.xml}}, {{currencies.xml}} etc and thus can create a collection 
with a default config set and start configuring through APIs. What if we 
compile list of components that today require some text file in config-set, and 
then create JIRAs for each of them to make a Managed counterpart, and finally 
deprecate the non managed ones?

Or is the Config API / Schema API (which are newer than the Managed REST APIs) 
a better way of configuring these components? What if an Authentication Plugin 
requires a huge config file, should it just be embedded in security.json?


was (Author: janhoy):
I think I'll close this JIRA, as we already have APIs for most things you need 
to do in ZK on a daily basis:
 * Upload config sets
 * Modify schema and config
 * Modify security settings (perhaps except the initial upload of security.json)

I think it is acceptable that typical install actions such as changing 
urlScheme or bootstrapping security.json must happen directly to ZK.

> Upload files to ZooKeeper from Solr Admin interface
> ---------------------------------------------------
>
>                 Key: SOLR-4052
>                 URL: https://issues.apache.org/jira/browse/SOLR-4052
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Eric Pugh
>            Priority: Major
>         Attachments: ZookeeperInfoServletTest.java, zookeeper_edit.patch
>
>
> It would be nice if you could add files to ZooKeeper through the solr admin 
> tool instead of having to use the zkCli.  Steffan and I talked about this at 
> ApacheCon Euro, and he suggested that if I put the java code in place, he'll 
> put in the pretty GUI aspects!  This patch is based around using a tool like 
> http://blueimp.github.com/jQuery-File-Upload/ to upload to a java servlet.  I 
> hung this code off the ZookeeperInfoServlet doPost method mostly b/c I didn't 
> have a better sense of where it should go.   A *very* annoying thing is that 
> it seems like from the browser side you can't select a directory of files and 
> upload it, which would make loading a new solr core configuration split 
> across many directory VERY annoying.   Also, this doesn't really feel like a 
> solid solution to just pulling up a file in the ZK tree browser webpage, 
> editing it (maybe via a big text box) and then posting the contents back.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to