lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adityab <aditya_ba...@yahoo.com>
Subject Concurrent Modification Exception
Date Mon, 01 Jul 2013 16:12:00 GMT
Hi, 
I have recently upgraded from Solr 3.5 to 4.2.1.
Also we have added spellcheck feature to our search query. During our
performance testing we have observed that for every 2000 request, 1 request
fails. 
The exception we observe in solr log are ConcurrentModificationException.
Below is the complete stack for exception. 
Any idea what could potentially be the reason. I did check JIRA list in
Solr/Lucene to see if there is any issue files and that's fixed. Couldn't
filnd thats directly associated to LRUCache. 

thanks
Aditya 

2013-06-28 20:32:57,265 SEVERE [org.apache.solr.core.SolrCore] (http-80-20)
java.util.ConcurrentModificationException
	at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
	at java.util.AbstractList$Itr.next(AbstractList.java:343)
	at java.util.AbstractList.equals(AbstractList.java:506)
	at org.apache.solr.search.QueryResultKey.isEqual(QueryResultKey.java:96)
	at org.apache.solr.search.QueryResultKey.equals(QueryResultKey.java:81)
	at java.util.HashMap.getEntry(HashMap.java:349)
	at java.util.LinkedHashMap.get(LinkedHashMap.java:280)
	at org.apache.solr.search.LRUCache.get(LRUCache.java:130)
	at
org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1276)
	at
org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:457)
	at
org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:410)
	at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:208)
	at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1817)
	at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:639)
	at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:345)
	at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:141)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
	at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
	at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
	at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:662)



--
View this message in context: http://lucene.472066.n3.nabble.com/Concurrent-Modification-Exception-tp4074371.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message