mirror of https://github.com/apache/lucene.git
SOLR-4162: ZkCli usage examples are not correct because the zkhost parameter is not present and it is mandatory for all commands.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
89bddae466
commit
f79de4b70e
|
@ -301,6 +301,10 @@ Bug Fixes
|
||||||
enough to find the leader due to how long the potential leader waits to see
|
enough to find the leader due to how long the potential leader waits to see
|
||||||
replicas. (Mark Miller, Alain Rogister)
|
replicas. (Mark Miller, Alain Rogister)
|
||||||
|
|
||||||
|
* SOLR-4162: ZkCli usage examples are not correct because the zkhost parameter
|
||||||
|
is not present and it is mandatory for all commands.
|
||||||
|
(Tomas Fernandez Lobbe via Mark Miller)
|
||||||
|
|
||||||
Other Changes
|
Other Changes
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -123,12 +123,12 @@ public class ZkCLI {
|
||||||
HelpFormatter formatter = new HelpFormatter();
|
HelpFormatter formatter = new HelpFormatter();
|
||||||
formatter.printHelp(ZK_CLI_NAME, options);
|
formatter.printHelp(ZK_CLI_NAME, options);
|
||||||
System.out.println("Examples:");
|
System.out.println("Examples:");
|
||||||
System.out.println("zkcli.sh -cmd " + BOOTSTRAP + " -" + SOLRHOME + " /opt/solr");
|
System.out.println("zkcli.sh -zkhost localhost:9983 -cmd " + BOOTSTRAP + " -" + SOLRHOME + " /opt/solr");
|
||||||
System.out.println("zkcli.sh -cmd " + UPCONFIG + " -" + CONFDIR + " /opt/solr/collection1/conf" + " -" + CONFNAME + " myconf");
|
System.out.println("zkcli.sh -zkhost localhost:9983 -cmd " + UPCONFIG + " -" + CONFDIR + " /opt/solr/collection1/conf" + " -" + CONFNAME + " myconf");
|
||||||
System.out.println("zkcli.sh -cmd " + DOWNCONFIG + " -" + CONFDIR + " /opt/solr/collection1/conf" + " -" + CONFNAME + " myconf");
|
System.out.println("zkcli.sh -zkhost localhost:9983 -cmd " + DOWNCONFIG + " -" + CONFDIR + " /opt/solr/collection1/conf" + " -" + CONFNAME + " myconf");
|
||||||
System.out.println("zkcli.sh -cmd " + LINKCONFIG + " -" + COLLECTION + " collection1" + " -" + CONFNAME + " myconf");
|
System.out.println("zkcli.sh -zkhost localhost:9983 -cmd " + LINKCONFIG + " -" + COLLECTION + " collection1" + " -" + CONFNAME + " myconf");
|
||||||
System.out.println("zkcli.sh -cmd " + MAKEPATH + " /apache/solr");
|
System.out.println("zkcli.sh -zkhost localhost:9983 -cmd " + MAKEPATH + " /apache/solr");
|
||||||
System.out.println("zkcli.sh -cmd " + CLEAR + " /solr");
|
System.out.println("zkcli.sh -zkhost localhost:9983 -cmd " + CLEAR + " /solr");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue