You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Daniel Collins (JIRA)" <ji...@apache.org> on 2013/08/07 16:38:47 UTC

[jira] [Commented] (SOLR-5121) zkcli usage for makepath doesn't match actual command.

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

Daniel Collins commented on SOLR-5121:
--------------------------------------

Trivial patch attached to correct the usage to what I think it should be.
                
> zkcli usage for makepath doesn't match actual command.
> ------------------------------------------------------
>
>                 Key: SOLR-5121
>                 URL: https://issues.apache.org/jira/browse/SOLR-5121
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.4
>            Reporter: Daniel Collins
>            Priority: Minor
>         Attachments: SOLR-5121.patch
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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