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

ZkCli should create subpaths when necessary

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 8.11
    • 9.4
    • cli
    • None

    Description

      Certain zkCli.sh commands (clusterprop, put, putfile) use the zkClient.create() function.

      However, the clusterprop command is recommended to be used for setting the TLS property for SolrClouds that have not yet been started. Since Solr now supports creating chroots implicitly, SOLR-7642, the zkCli.sh commands should work if the chroot doesn't exist yet.

       

      This is pretty easy to fix by changing the zkClient.create() to zkClient.makePath().

      Attachments

        Issue Links

          Activity

            People

              houston Houston Putman
              houston Houston Putman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m