Uploaded image for project: 'Giraph'
  1. Giraph
  2. GIRAPH-853

Fix concurrency issue in GiraphMetrics

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

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

        Attachments

        1. GIRAPH-853.patch
          1.0 kB
          Maja Kabiljo

          Activity

            People

            • Assignee:
              majakabiljo Maja Kabiljo
              Reporter:
              majakabiljo Maja Kabiljo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: