Uploaded image for project: 'SAMOA'
  1. SAMOA
  2. SAMOA-71

HorizontalAMRulesRegressor fails with ConcurrentModificationException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: To Do
    • Minor
    • Resolution: Unresolved
    • SAMOA-API
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mgrzenda Maciej Grzenda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: