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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1, 6.0
    • Component/s: SolrCloud
    • Labels:
      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.

      1. SOLR-4162.patch
        2 kB
        Tomás Fernández Löbbe

        Activity

        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1419878

        SOLR-4162: ZkCli usage examples are not correct because the zkhost parameter is not present and it is mandatory for all commands.

        Show
        Commit Tag Bot added a comment - [trunk commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1419878 SOLR-4162 : ZkCli usage examples are not correct because the zkhost parameter is not present and it is mandatory for all commands.
        Hide
        Mark Miller added a comment -

        Thanks Tomas!

        Show
        Mark Miller added a comment - Thanks Tomas!
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Mark Robert Miller
        http://svn.apache.org/viewvc?view=revision&revision=1419881

        SOLR-4162: ZkCli usage examples are not correct because the zkhost parameter is not present and it is mandatory for all commands.

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1419881 SOLR-4162 : ZkCli usage examples are not correct because the zkhost parameter is not present and it is mandatory for all commands.

          People

          • Assignee:
            Mark Miller
            Reporter:
            Tomás Fernández Löbbe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development