lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramkumar Aiyengar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7176) allow zkcli to modify JSON
Date Sat, 28 Feb 2015 22:10:04 GMT

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

Ramkumar Aiyengar commented on SOLR-7176:
-----------------------------------------

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

Solr seems a better place to add this logic than the independent zkcli -- perhaps as a separate
admin kind of API like collection API. zkcli should stay as agnostic of Solr as possible --
and from that perspective it would be nice to do modifications like what's suggested here
-- but it should be what it looks like, a sharp dumb tool to deal with cases which need ZK
needs to be modified, and I have modified cluster state on occasion when the overseer throws
a fit. But if we are improving on it and making it look like a real targeted API for something
in Solr, it should be in Solr.

> 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


Mime
View raw message