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

ASF GitHub Bot commented on EAGLE-569:
--------------------------------------

GitHub user RalphSu opened a pull request:

    https://github.com/apache/incubator-eagle/pull/457

    [EAGLE-569]: AlertPublishImpl: Concurrency : Inplace change metadata …

    <!--
    {% comment %}
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to you under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License.  You may obtain a copy of the License at
    
    http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    {% endcomment %}
    -->
    
    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
    
     - [ ] Make sure the PR title is formatted like:
       `[EAGLE-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License 
Agreement](https://www.apache.org/licenses/icla.txt).
    
    --->
    …cause concurrent modification issue
    
    Author : ralphsu

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/RalphSu/incubator-eagle master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-eagle/pull/457.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #457
    
----

----


> AlertPublishImpl: Concurrency : Inplace change metadata cause concurrent 
> modification issue
> -------------------------------------------------------------------------------------------
>
>                 Key: EAGLE-569
>                 URL: https://issues.apache.org/jira/browse/EAGLE-569
>             Project: Eagle
>          Issue Type: Bug
>    Affects Versions: v0.5.0
>            Reporter: Su Ralph
>            Assignee: Su Ralph
>            Priority: Critical
>             Fix For: v0.5.0
>
>
> We are try to re-use eagle alert module as part our streaming processing 
> core, during test, we found below error.
> 6700    java.util.ConcurrentModificationException at 
> java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901) at 
> java.util.ArrayList$Itr.next(ArrayList.java:851) at 
> org.apache.eagle.alert.engine.publisher.impl.AlertPublisherImpl.notifyAlert(AlertPublisherImpl.java:74)
> It happens to be in AlertPublisherImpl, the metadata change is doing inplace 
> update, which cause the concurrency issue when the bolt is continuing ingest 
> data.
> This exception should cause following data stream not able to be published. 
> Hence be blocker



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to