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:36:47 UTC

[jira] [Updated] (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:all-tabpanel ]

Daniel Collins updated SOLR-5121:
---------------------------------

    Description: 
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)

  was:
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)

    
> 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
>
> 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