You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2015/02/28 00:46:05 UTC

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

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

Hoss Man commented on SOLR-7176:
--------------------------------

supporting arbitrary JSON editing could be dangerous (hello clusterstate.json !) 

perhaps it would be best to just have a simple "clusterprop" command?

alternatively: if the only real concern here for normal users is the urlSchema clusterprop, couldn't we make bin/solr smart enough to set that property for you if it detects that SOLR_SSL_OPTS is set and the property isn't already set?

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