clusterstate.json not updated in zookeeper after creating the collection using API

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

clusterstate.json not updated in zookeeper after creating the collection using API

Xie, Sean
Hi

I created collection in a SolrCloud cluster (6.3.0), but found the clusterstate.json is not updated in zookeeper. It’s empty.

I’m able to query cluster state using API: admin/collections?action=CLUSTERSTATUS&wt=json

Any reason why clusterstate.json is not updated?

Thanks
Sean

Confidentiality Notice::  This email, including attachments, may include non-public, proprietary, confidential or legally privileged information.  If you are not an intended recipient or an authorized agent of an intended recipient, you are hereby notified that any dissemination, distribution or copying of the information contained in or transmitted with this e-mail is unauthorized and strictly prohibited.  If you have received this email in error, please notify the sender by replying to this message and permanently delete this e-mail, its attachments, and any copies of it immediately.  You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: clusterstate.json not updated in zookeeper after creating the collection using API

Erick Erickson
clusterstate.json is a remnant of when all collection information was
held in that node. It should always be empty currently.

The state for the collection should be in
collections>>collection_name1>>state.json
collections>>collection_name2>>state.json

and so on.

Best,
Erick

On Thu, Apr 6, 2017 at 8:10 PM, Xie, Sean <[hidden email]> wrote:

> Hi
>
> I created collection in a SolrCloud cluster (6.3.0), but found the clusterstate.json is not updated in zookeeper. It’s empty.
>
> I’m able to query cluster state using API: admin/collections?action=CLUSTERSTATUS&wt=json
>
> Any reason why clusterstate.json is not updated?
>
> Thanks
> Sean
>
> Confidentiality Notice::  This email, including attachments, may include non-public, proprietary, confidential or legally privileged information.  If you are not an intended recipient or an authorized agent of an intended recipient, you are hereby notified that any dissemination, distribution or copying of the information contained in or transmitted with this e-mail is unauthorized and strictly prohibited.  If you have received this email in error, please notify the sender by replying to this message and permanently delete this e-mail, its attachments, and any copies of it immediately.  You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.