You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Pallavi Rao (JIRA)" <ji...@apache.org> on 2015/12/29 06:54:49 UTC
[jira] [Commented] (FALCON-1702) Exception thrown by workflow
status listeners on success notification
[ https://issues.apache.org/jira/browse/FALCON-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15073530#comment-15073530 ]
Pallavi Rao commented on FALCON-1702:
-------------------------------------
This specifically happens when Oozie JMS notification is enabled. It happens because the "operation" argument is not set in WorkflowExecutionContext when Oozie's JMS notification is consumed.
> Exception thrown by workflow status listeners on success notification
> ---------------------------------------------------------------------
>
> Key: FALCON-1702
> URL: https://issues.apache.org/jira/browse/FALCON-1702
> Project: Falcon
> Issue Type: Bug
> Affects Versions: 0.8
> Reporter: Pallavi Rao
> Assignee: Pallavi Rao
> Priority: Minor
> Fix For: 0.9
>
>
> When a workflow success status message is received, all the listeners throw the below exception:
> {code}
> 2015-12-29 05:04:26,844 DEBUG - [ActiveMQ Session Task-15694:] ~ Sending workflow end notification to listeners with context : WorkflowExecutionContext ......
> 2015-12-29 05:04:26,844 ERROR - [ActiveMQ Session Task-15694:] ~ Error in listener org.apache.falcon.catalog.CatalogPartitionHandler (WorkflowJobEndNotificati
> onService:246)
> java.lang.NullPointerException: Name is null
> at java.lang.Enum.valueOf(Enum.java:236)
> at org.apache.falcon.workflow.WorkflowExecutionContext$EntityOperations.valueOf(WorkflowExecutionContext.java:76)
> at org.apache.falcon.workflow.WorkflowExecutionContext.getOperation(WorkflowExecutionContext.java:234)
> at org.apache.falcon.workflow.WorkflowExecutionContext.getClusterName(WorkflowExecutionContext.java:201)
> at org.apache.falcon.catalog.CatalogPartitionHandler.onSuccess(CatalogPartitionHandler.java:97)
> at org.apache.falcon.workflow.WorkflowJobEndNotificationService.notifyWorkflowEnd(WorkflowJobEndNotificationService.java:236)
> 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:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)