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

Ishan Chattopadhyaya resolved SOLR-13942.
-----------------------------------------
    Fix Version/s: 8.5
       Resolution: Fixed

bq. I disagree with your statement above that the community's position is "No 
data in ZK is private". To the contrary, in the ref-guide itself we suggest to 
users that there are valid reasons to control ZK read access.

Ref guide says, "You might even want to limit read-access, if you think there 
is stuff in ZooKeeper that not everyone should know about. Or you might just in 
general work on a need-to-know basis". The endpoint that we have today can't be 
locked down using authentication; this new endpoint can be.

bq. Redundant Functionality - Our Solr distribution already offers a handful of 
ways to access ZK data. bin/solr, zkcli.sh, the /admin/zookeeper endpoint, 
various Collections API commands, etc. And where these aren't 
available/sufficient, there are plenty of external ZK clients to use. 
bin/solr and zkcli.sh require direct access to ZK, and hence insecure. 
/admin/zookeeper is ugly, and this one is not; I'm +1 to deprecating that one 
in favour of this one. External ZK clients again need access to ZK, which is 
insecure.

bq. Slimness Concerns - I'm a little surprised honestly that you and Ishan have 
taken this up, when you've been so instrumental in getting people focused on 
slimming Solr down and cutting everything out of core that's not related to 
Solr's raison d'etre.
This issue is totally unrelated to that goal (which we'll continue to follow).

> /api/cluster/zk/* to fetch raw ZK data
> --------------------------------------
>
>                 Key: SOLR-13942
>                 URL: https://issues.apache.org/jira/browse/SOLR-13942
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Major
>             Fix For: 8.5
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> example
> download the {{state.json}} of
> {code}
> GET http://localhost:8983/api/cluster/zk/collections/gettingstarted/state.json
> {code}
> get a list of all children under {{/live_nodes}}
> {code}
> GET http://localhost:8983/api/cluster/zk/live_nodes
> {code}
> If the requested path is a node with children show the list of child nodes 
> and their meta data



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to