[ https://issues.apache.org/jira/browse/NUTCH-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sami Siren updated NUTCH-496: ----------------------------- Attachment: nutch-496.txt This patch changes LanguageIdentifier to have NGramProfile per thread instead of one common one. > ConcurrentModificationException can be thrown when getSorted() is called. > ------------------------------------------------------------------------- > > Key: NUTCH-496 > URL: https://issues.apache.org/jira/browse/NUTCH-496 > Project: Nutch > Issue Type: Bug > Components: fetcher > Affects Versions: 0.9.0 > Environment: Nutch application, during fetch. > Reporter: Briggs > Attachments: language_analyzer_ngram.patch, nutch-496.txt > > > NGramProfile (within the org.apache.nutch.analysis.lang) package is not > thread-safe due to a ConcurrentModificationException that can occur if during > iteration of the resultant List from getSorted() and another call to > getSorted() is invoked from within another thread. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nutch-developers mailing list Nutch-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nutch-developers