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

Enhance the bin/solr script to perform file operations to/from Zookeeper

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2, 7.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        1. SOLR-9194.patch
          38 kB
          Erick Erickson
        2. SOLR-9194.patch
          58 kB
          Erick Erickson
        3. SOLR-9194.patch
          106 kB
          Erick Erickson
        4. SOLR-9194.patch
          107 kB
          Jan Høydahl
        5. SOLR-9194.patch
          108 kB
          Jan Høydahl
        6. SOLR-9194.patch
          108 kB
          Erick Erickson
        7. SOLR-9194-windows_fix.patch
          15 kB
          Erick Erickson
        8. SOLR-9194-windows_fix2.patch
          6 kB
          Erick Erickson
        9. SOLR-9194-windows_fix3.patch
          0.7 kB
          Erick Erickson

          Issue Links

            Activity

              People

              • Assignee:
                erickerickson Erick Erickson
                Reporter:
                erickerickson Erick Erickson
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: