You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2012/10/09 13:08:03 UTC

[jira] [Resolved] (STANBOL-763) ConcurrentModificationException in ManagedSolrServer when a Solr index archive becomes available

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

Rupert Westenthaler resolved STANBOL-763.
-----------------------------------------

    Resolution: Fixed

fixed with http://svn.apache.org/viewvc?rev=1395879&view=rev
                
> ConcurrentModificationException in ManagedSolrServer when a Solr index archive becomes available
> ------------------------------------------------------------------------------------------------
>
>                 Key: STANBOL-763
>                 URL: https://issues.apache.org/jira/browse/STANBOL-763
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Commons
>            Reporter: Rupert Westenthaler
>            Assignee: Rupert Westenthaler
>            Priority: Minor
>
> The stacktrace
> 08.10.2012 11:21:29.786 *WARN* [DataFileTrackingDaemon] org.apache.stanbol.commons.stanboltools.datafileprovider.impl.tracking.DataFileTrackerImpl Exception from Listener 'org.apache.stanbol.commons.solr.managed.impl.ManagedSolrServerImpl$IndexArchiveTracker@25bbd50b' while calling available for resource 'default.solrindex.zip'! java.util.ConcurrentModificationException
> 	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
> 	at java.util.HashMap$KeyIterator.next(HashMap.java:828)
> 	at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1008)
> 	at org.apache.stanbol.commons.solr.managed.impl.ManagedSolrServerImpl$IndexArchiveTracker.available(ManagedSolrServerImpl.java:1049)
> 	at org.apache.stanbol.commons.stanboltools.datafileprovider.impl.tracking.DataFileTrackerImpl$TrackingDaemon.fire(DataFileTrackerImpl.java:416)
> 	at org.apache.stanbol.commons.stanboltools.datafileprovider.impl.tracking.DataFileTrackerImpl$TrackingDaemon.run(DataFileTrackerImpl.java:358)
> 	at java.lang.Thread.run(Thread.java:680)
> If this happens the available Solr Archive ("{name}.solrindex.zip") will not be initialised. Users will see the ReferencedSite {name} but requests will result in Exceptions.
> Users that experience this can try to
> * Stop/Start the SolrYard that uses the SolrCore with the name {name}
> * Delete the "{name}.solrindex.zip"; wait for 5+sec;  re-create "{name}.solrindex.zip" in the /datafiles directory
> both actions will again trigger the initialization of the Solr Archive.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira