You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@samoa.apache.org by "Maciej Grzenda (JIRA)" <ji...@apache.org> on 2017/07/17 14:37:00 UTC
[jira] [Created] (SAMOA-71) HorizontalAMRulesRegressor fails with
ConcurrentModificationException
Maciej Grzenda created SAMOA-71:
-----------------------------------
Summary: HorizontalAMRulesRegressor fails with ConcurrentModificationException
Key: SAMOA-71
URL: https://issues.apache.org/jira/browse/SAMOA-71
Project: SAMOA
Issue Type: Bug
Components: SAMOA-API
Reporter: Maciej Grzenda
Priority: Minor
When Horizontal Adaptive Model Rules Regressor is used, AMRRuleSetProcessor that is used in turn occasionally fails with ConcurrentModificationException:
Exception in thread "main" java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(Unknown Source)
at java.util.LinkedList$ListItr.next(Unknown Source)
at org.apache.samoa.learners.classifiers.rules.distributed.AMRRuleSetPro
cessor.processInstanceEvent(AMRRuleSetProcessor.java:130)
The reason seems to be ruleSet is not thread-safe, but this can be possibly changed.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)