You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Xie, Sean" <Se...@finra.org> on 2017/04/07 03:10:58 UTC

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

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.

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

Posted by Erick Erickson <er...@gmail.com>.
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 <Se...@finra.org> 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.