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 Thu, 28 Sep 2017 12:51:00 GMT

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

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

Github user gdfm commented on the issue:

    https://github.com/apache/incubator-samoa/pull/68
  
    +1, looks good to me.
    Thanks for the fix!


> 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