Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4052

Upload files to ZooKeeper from Solr Admin interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Admin UI
    • None

    Description

      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.

      Attachments

        1. zookeeper_edit.patch
          14 kB
          Eric Pugh
        2. ZookeeperInfoServletTest.java
          7 kB
          Eric Pugh

        Issue Links

          Activity

            People

              Unassigned Unassigned
              epugh Eric Pugh
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: