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

Noble Paul commented on SOLR-13942:
-----------------------------------

bq. Are you kidding me? it's a "zookeeper" endpoint

You understand the difference between exposing zookeeper and exposing data in 
zookeeper, right? Exposing Zookeeper is a security loophole. Exposing data is 
not.

This is a diagnostic tool. If you wish to diagnose problems in your cluster, 
the only way to do is to expose more data. We cannot pretend that this data 
does not exist or users do not need it. The users NEED this data and security 
considerations prevent them from exposing Zookeeper to a wider audience

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