You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@samoa.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/10/04 14:42:00 UTC

[jira] [Commented] (SAMOA-71) HorizontalAMRulesRegressor fails with ConcurrentModificationException

    [ https://issues.apache.org/jira/browse/SAMOA-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191352#comment-16191352 ] 

ASF GitHub Bot commented on SAMOA-71:
-------------------------------------

Github user abifet commented on the issue:

    https://github.com/apache/incubator-samoa/pull/68
  
    +1
    Thanks! That's a nice improvement. 


> 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)