alirezazamani opened a new issue #738: ConcurrentModificationException for the 
TaskGarbageCollectionStage
URL: https://github.com/apache/helix/issues/738
 
 
   In the async TaskGarbageCollectionStage, since the workflow context can be 
changes in other threads (main pipeline), while looping through all of the 
contexts we might get the exception below: 
   
   377558 [TaskJobPurgeWorker-CLUSTER_TestTaskRebalancerParallel] ERROR 
org.apache.helix.controller.pipeline.AbstractAsyncBaseStage  - Failed to 
process TASK::TaskGarbageCollectionStage asynchronously
   java.util.ConcurrentModificationException
   at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442)
   at java.util.HashMap$EntryIterator.next(HashMap.java:1476)
   at java.util.HashMap$EntryIterator.next(HashMap.java:1474)
   at 
org.apache.helix.task.TaskUtil.workflowGarbageCollection(TaskUtil.java:1054)
   at 
org.apache.helix.controller.stages.TaskGarbageCollectionStage.execute(TaskGarbageCollectionStage.java:55)
   at 
org.apache.helix.controller.pipeline.AbstractAsyncBaseStage$1.run(AbstractAsyncBaseStage.java:47)
   at 
org.apache.helix.controller.GenericHelixController$3.handleEvent(GenericHelixController.java:605)
   at 
org.apache.helix.controller.GenericHelixController$3.handleEvent(GenericHelixController.java:601)
   at 
org.apache.helix.common.DedupEventProcessor.run(DedupEventProcessor.java:42)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to