samoa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SAMOA-71) HorizontalAMRulesRegressor fails with ConcurrentModificationException
Date Fri, 06 Oct 2017 01:13:00 GMT

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

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

Github user djKooks commented on the issue:

    https://github.com/apache/incubator-samoa/pull/68
  
    Now test goes well. Thanks!


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

Mime
View raw message