[
https://issues.apache.org/jira/browse/SOLR-13942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17051232#comment-17051232
]
Ishan Chattopadhyaya commented on SOLR-13942:
---------------------------------------------
bq. Where is the decision that all data in zk strictly public? What about
security.json?
All ZK data was public (read-only) till now anyway (via the older API). When
there is a security.json, this endpoint can be protected using adequate
authc/authz configurations. There is no change to our policy, nor is there a
security vulnerability due to this issue.
bq. We have been trying to abstract away zk. So this API must be
tagged/documented clearly as internal.
We've been trying to abstract away ZK, but not the data stored in ZK. It is
useful for monitoring/debugging, in a spirit similar to how debug/explain works
for a query. I agree this API should be tagged as experimental/internal etc.
bq. The proposal adds redundant API surface. Has there been done any
analysis of whether it is possible to cut over Admin UI from /admin/zookeeper
to /api/cluster/zk? The ZookeeperInfoHandler seems to do quite a lot more logic
than just shuffling bits from ZK to the client.
ZookeeperInfoHandler does a lot of things that should ideally be done by the
admin UI code. There is no technical reason why the UI won't be able to consume
this new endpoint (of course, with necessary changes to the UI).
Now, please withdraw your veto and let us move forward.
> /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: Blocker
> Fix For: 8.5
>
> Time Spent: 20m
> 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: [email protected]
For additional commands, e-mail: [email protected]