Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 87512 invoked from network); 3 Aug 2010 16:28:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Aug 2010 16:28:49 -0000 Received: (qmail 73101 invoked by uid 500); 3 Aug 2010 16:28:47 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 72998 invoked by uid 500); 3 Aug 2010 16:28:47 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 72915 invoked by uid 99); 3 Aug 2010 16:28:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 16:28:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 16:28:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o73GSNYA016371 for ; Tue, 3 Aug 2010 16:28:23 GMT Message-ID: <21926666.139321280852903166.JavaMail.jira@thor> Date: Tue, 3 Aug 2010 12:28:23 -0400 (EDT) From: "Reuben Firmin (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (SOLR-2024) StreamingUpdateSolrServer encounters ConcurrentModificationException In-Reply-To: <19823389.139281280852901778.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894921#action_12894921 ] Reuben Firmin commented on SOLR-2024: ------------------------------------- FWIW this appears to be SOLR-1711, but I opened a new bug rather than commenting on that, since it is closed. > 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. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org