lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <markus.jel...@openindex.io>
Subject RE: 6.6.0 getNumShards() NPE?!
Date Thu, 10 Aug 2017 10:42:13 GMT
I can now reproduce it on the two shard, two replica cluster.

It does NOT happen on the collection_shard1_replica1 and collection_shard2_replica1 nodes.

It happens consistently on the collection_shard1_replica2 and collection_shard2_replica2 nodes.

Any ideas?

-----Original message-----
> From:Markus Jelsma <markus.jelsma@openindex.io>
> Sent: Thursday 10th August 2017 12:34
> To: Solr-user <solr-user@lucene.apache.org>
> Subject: 6.6.0 getNumShards() NPE?!
> 
> Hello,
> 
> Having trouble, again, with CloudDescriptor and friend, getting the number of shards
of the collection. It sometimes returns 1 for a collection of two shards. Having this code:
> 
>       cloudDescriptor = core.getCoreDescriptor().getCloudDescriptor();
>       return cloudDescriptor.getNumShards();
> 
> In some cases cloudDescriptor.getNumShards() throws an NPE. Am i doing something wrong?
> 
> Thanks,
> Markus
> 

Mime
View raw message