giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avery Ching (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-853) Fix concurrency issue in GiraphMetrics
Date Fri, 14 Feb 2014 17:12:19 GMT

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

Avery Ching commented on GIRAPH-853:
------------------------------------

+1, thanks for fixing this irritation!

> Fix concurrency issue in GiraphMetrics
> --------------------------------------
>
>                 Key: GIRAPH-853
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-853
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Maja Kabiljo
>            Assignee: Maja Kabiljo
>         Attachments: GIRAPH-853.patch
>
>
> Tests sometimes fail due to concurrency issue in GiraphMetrics when adding observers
> Caused by: java.util.ConcurrentModificationException
> 	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
> 	at java.util.ArrayList$Itr.next(ArrayList.java:791)
> 	at org.apache.giraph.metrics.GiraphMetrics.resetSuperstepMetrics(GiraphMetrics.java:134)
> 	at org.apache.giraph.graph.GraphTaskManager.checkTaskState(GraphTaskManager.java:829)
...



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message