You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hrishikesh Gadre (JIRA)" <ji...@apache.org> on 2015/04/18 03:06:00 UTC

[jira] [Updated] (SOLR-7176) allow zkcli to modify JSON

     [ https://issues.apache.org/jira/browse/SOLR-7176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hrishikesh Gadre updated SOLR-7176:
-----------------------------------
    Attachment: SOLR-7176.patch

Here is a patch as per our earlier discussion. The only difference is I have added 'CLUSTERPROP' as a regular command instead of '-collection-action' suggested since the commons options library does not accept option name embedded with '-' (in between collection and action). I thought of other alternatives, but couldn't come up with a concise name. I think it should be OK to use 'cmd' instead. Let me know if you have other suggestions.

> allow zkcli to modify JSON
> --------------------------
>
>                 Key: SOLR-7176
>                 URL: https://issues.apache.org/jira/browse/SOLR-7176
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Priority: Minor
>         Attachments: SOLR-7176.patch
>
>
> To enable SSL, we have instructions like the following:
> {code}
> server/scripts/cloud-scripts/zkcli.sh -zkhost localhost:2181 -cmd put /clusterprops.json '{"urlScheme":"https"}'
> {code}
> Overwriting the value won't work well when we have more properties to put in clusterprops.  We should be able to change individual values or perhaps merge values.



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