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

zkcli usage for makepath doesn't match actual command.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: None
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      After the patch for SOLR-4972 was introduced, the usage for zkcli.sh -cmd makepath changed to

      zkcli.sh -zkhost localhost:9983 -cmd makepath /apache/solr/data.txt 'config data'

      Yet that is not what the command expects, it expects just a single path to create, no data can be supplied.

      "put" is the new way to create an actual file in ZK.

      Am assuming makepath should have stayed as it was (so command is correct, but usage is wrong), alternatively usage might be right and makepath could be a superset of PUT (but that seems unlikely)

        Attachments

        1. SOLR-5121.patch
          1 kB
          Daniel Collins

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              dancollins Daniel Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: