You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2015/08/03 12:08:04 UTC

[jira] [Commented] (SOLR-7863) Lowercase the CLUSTERPROP command in ZkCLI for consistency

    [ https://issues.apache.org/jira/browse/SOLR-7863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14651704#comment-14651704 ] 

Jan Høydahl commented on SOLR-7863:
-----------------------------------

Also, if an unknown -cmd is issued, the tool just exits without any message/error.

> Lowercase the CLUSTERPROP command in ZkCLI for consistency
> ----------------------------------------------------------
>
>                 Key: SOLR-7863
>                 URL: https://issues.apache.org/jira/browse/SOLR-7863
>             Project: Solr
>          Issue Type: Bug
>          Components: scripts and tools
>    Affects Versions: 5.2.1
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Minor
>             Fix For: 5.3
>
>
> The examples for the zkcli.sh command looks like this
> {noformat}
> Examples:
> zkcli.sh -zkhost localhost:9983 -cmd bootstrap -solrhome /opt/solr
> zkcli.sh -zkhost localhost:9983 -cmd upconfig -confdir /opt/solr/collection1/conf -confname myconf
> zkcli.sh -zkhost localhost:9983 -cmd downconfig -confdir /opt/solr/collection1/conf -confname myconf
> zkcli.sh -zkhost localhost:9983 -cmd linkconfig -collection collection1 -confname myconf
> zkcli.sh -zkhost localhost:9983 -cmd makepath /apache/solr
> zkcli.sh -zkhost localhost:9983 -cmd put /solr.conf 'conf data'
> zkcli.sh -zkhost localhost:9983 -cmd putfile /solr.xml /User/myuser/solr/solr.xml
> zkcli.sh -zkhost localhost:9983 -cmd get /solr.xml
> zkcli.sh -zkhost localhost:9983 -cmd getfile /solr.xml solr.xml.file
> zkcli.sh -zkhost localhost:9983 -cmd clear /solr
> zkcli.sh -zkhost localhost:9983 -cmd list
> zkcli.sh -zkhost localhost:9983 -cmd CLUSTERPROP -name urlScheme -val https
> {noformat}
> It is inconsistent that CLUSTERPROP is uppercase.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org