falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pavan kumar kolamuri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1568) Process Instances are not getting scheduled in Falcon Native Scheduler
Date Thu, 29 Oct 2015 09:50:27 GMT

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

pavan kumar kolamuri commented on FALCON-1568:
----------------------------------------------

The issue is because , even though synchronized list  for listeners is being used  in JobCompletionService
. While iterating that list it should in synchronized block which was missing. 

> Process Instances are not getting scheduled in Falcon Native Scheduler 
> -----------------------------------------------------------------------
>
>                 Key: FALCON-1568
>                 URL: https://issues.apache.org/jira/browse/FALCON-1568
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: pavan kumar kolamuri
>            Assignee: pavan kumar kolamuri
>
> If process is scheduled using Falcon Native Scheduler some instances are not getting
scheduled as JobCompletionService is failing concurrent modification exception. 
> {noformat}
> java.util.ConcurrentModificationException
>         at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859)
>         at java.util.ArrayList$Itr.next(ArrayList.java:831)
>         at org.apache.falcon.notification.service.impl.JobCompletionService.onEnd(JobCompletionService.java:145)
>         at org.apache.falcon.notification.service.impl.JobCompletionService.onSuccess(JobCompletionService.java:120)
>         at org.apache.falcon.workflow.WorkflowJobEndNotificationService.notifyWorkflowEnd(WorkflowJobEndNotificationService.java:235)
>         at org.apache.falcon.workflow.WorkflowJobEndNotificationService.notifySuccess(WorkflowJobEndNotificationService.java:105)
>         at org.apache.falcon.messaging.JMSMessageConsumer.invokeListener(JMSMessageConsumer.java:197)
>         at org.apache.falcon.messaging.JMSMessageConsumer.onMessage(JMSMessageConsumer.java:120)
>         at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1393)
>         at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
>         at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
>         at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)
>         at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> {noformat}



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

Mime
View raw message