Re: Question on changes to /admin/zookeeper handler

2020-05-17 Thread Ilan Ginzburg
Answering to myself: this is used from the Admin UI - Cloud - Graph page.
Therefore need to stay consistent (including the "Json within Json"
format for collection data), and reflect any URL changes in
services.js.

On Sun, May 17, 2020 at 4:30 PM Ilan Ginzburg  wrote:
>
> I'm in the process of removing everything /clusterstate.json from Solr
> 9.0 (https://issues.apache.org/jira/browse/SOLR-12823).
>
> There's a choice to be made regarding /admin/zookeeper endpoint
> (ZookeeperInfoHandler).
>
> Looking at http://localhost:8985/solr/admin/zookeeper?path=/clusterstate.json
> (with or without =true) there's not much info in this call when
> all collections are stateFormat=2.
>
> But 
> http://localhost:8985/solr/admin/zookeeper?path=/clusterstate.json=true=graph
> is a way to get a (paginated?) list of all collections (including
> stateFormat=2 collections).
>
> With /clusterstate.json gone, shall we continue to support the same
> URL (the last one) to list all collections (obviously minus znode
> specific info about  /clusterstate.json) or maybe make things a bit
> more explicit, for example
> http://localhost:8985/solr/admin/zookeeper/listcollections to provide
> that output?
> I prefer the second approach, cleaner than pretending that
> /clusterstate.json still exists.
>
> Other options I've missed here?
>
> Thanks,
> Ilan

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



Question on changes to /admin/zookeeper handler

2020-05-17 Thread Ilan Ginzburg
I'm in the process of removing everything /clusterstate.json from Solr
9.0 (https://issues.apache.org/jira/browse/SOLR-12823).

There's a choice to be made regarding /admin/zookeeper endpoint
(ZookeeperInfoHandler).

Looking at http://localhost:8985/solr/admin/zookeeper?path=/clusterstate.json
(with or without =true) there's not much info in this call when
all collections are stateFormat=2.

But 
http://localhost:8985/solr/admin/zookeeper?path=/clusterstate.json=true=graph
is a way to get a (paginated?) list of all collections (including
stateFormat=2 collections).

With /clusterstate.json gone, shall we continue to support the same
URL (the last one) to list all collections (obviously minus znode
specific info about  /clusterstate.json) or maybe make things a bit
more explicit, for example
http://localhost:8985/solr/admin/zookeeper/listcollections to provide
that output?
I prefer the second approach, cleaner than pretending that
/clusterstate.json still exists.

Other options I've missed here?

Thanks,
Ilan

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