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

ZkCli examples are not correct because the zkhost parameter is not present and it is mandatory for all commands

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.0
    • 4.1, 6.0
    • SolrCloud
    • None

    Description

      Copying ZkCli.sh help examples doesn't work:

      $ ./zkcli.sh -cmd bootstrap -solrhome /path/to/home/
      usage: ZkCLI
       -c,--collection <arg>   for linkconfig: name of the collection
       -cmd                    cmd to run: bootstrap, upconfig, downconfig,
                               linkconfig, makepath, clear
       -d,--confdir <arg>      for upconfig: a directory of configuration files
       -h,--help               bring up this help page
       -n,--confname <arg>     for upconfig, linkconfig: name of the config set
       -r,--runzk <arg>        run zk internally by passing the solr run port -
                               only for clusters on one machine (tests, dev)
       -s,--solrhome <arg>     for bootstrap, runzk: solrhome location
       -z,--zkhost <arg>       ZooKeeper host address
      Examples:
      zkcli.sh -cmd bootstrap -solrhome /opt/solr
      zkcli.sh -cmd upconfig -confdir /opt/solr/collection1/conf -confname myconf
      zkcli.sh -cmd downconfig -confdir /opt/solr/collection1/conf -confname myconf
      zkcli.sh -cmd linkconfig -collection collection1 -confname myconf
      zkcli.sh -cmd makepath /apache/solr
      zkcli.sh -cmd clear /solr
      

      The parameter "zkhost" is mandatory for all commands.

      Attachments

        1. SOLR-4162.patch
          2 kB
          Tomas Eduardo Fernandez Lobbe

        Activity

          People

            markrmiller@gmail.com Mark Miller
            tflobbe Tomas Eduardo Fernandez Lobbe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: