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: Unit tests, Session expired for ...state.json in AbstractFullDistribZkTestBase
Date Thu, 26 May 2016 09:46:42 GMT
Also, tests sometimes fail with:
org.apache.solr.common.SolrException: No registered leader was found after waiting for 10000ms
, collection: collection1 slice: shard1

Despite having waitForThingsToLevelOut(45);

If anyone has a suggestion for this as well, it would be much appreciated :)

Markus
 
 
-----Original message-----
> From:Markus Jelsma <markus.jelsma@openindex.io>
> Sent: Thursday 26th May 2016 11:37
> To: solr-user <solr-user@lucene.apache.org>
> Subject: Unit tests, Session expired for ...state.json in AbstractFullDistribZkTestBase
> 
> Hi,
> 
> We have a bunch of tests extending AbstractFullDistribZkTestBase on 6.0 and our builds
sometimes fail with the following message:
> 
> org.apache.solr.common.SolrException: Could not load collection from ZK: collection1

> at io.....
> Caused by: org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode
= Session expired for /collections/collection1/state.json 
> at io....
> 
> Strange thing is, the line where it failed is after waitForThingsToLevelOut(45); and
waitForRecoveriesToFinish(false); ánd having indexed a few thousand documents! These sporadic
failures are a nuisance because it raises red flags in our Jenkins. Is there anything we can
do to prevent these things from happening? 
> 
> Many thanks!
> Markus
> 

Mime
View raw message