lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sami Siren (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-2024) StreamingUpdateSolrServer encounters ConcurrentModificationException
Date Tue, 17 Apr 2012 10:59:18 GMT

     [ https://issues.apache.org/jira/browse/SOLR-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sami Siren resolved SOLR-2024.
------------------------------

    Resolution: Won't Fix

SOLR-1711 was fixed in 3.1 and 4.0. 

I think that there will be no more releases from 1.4.x branch so I am closing this as Won't
Fix.
                
> StreamingUpdateSolrServer encounters ConcurrentModificationException
> --------------------------------------------------------------------
>
>                 Key: SOLR-2024
>                 URL: https://issues.apache.org/jira/browse/SOLR-2024
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.4.1
>            Reporter: Reuben Firmin
>
> We are intermittently encountering this bug when using the StreamingUpdateSolrServer.
It appears to be caused by many near-simultaneous requests to the add method. We were initially
using 1.4 dev, but have since updated to 1.4.1, and are still encountering the issue.
> java.util.ConcurrentModificationException
>         at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
>         at java.util.AbstractList$Itr.next(AbstractList.java:343)
>         at org.hibernate.collection.AbstractPersistentCollection$IteratorProxy.next(AbstractPersistentCollection.java:577)
>         at org.apache.solr.client.solrj.util.ClientUtils.writeXML(ClientUtils.java:105)
>         at org.apache.solr.client.solrj.request.UpdateRequest.writeXML(UpdateRequest.java:213)
>         at org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer$Runner$1.writeRequest(StreamingUpdateSolrServer.java:100)
>         at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
>         at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
>         at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
>         at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
>         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
>         at org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer$Runner.run(StreamingUpdateSolrServer.java:137)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message