falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pallavi Rao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-1702) Exception thrown by workflow status listeners on success notification
Date Tue, 29 Dec 2015 05:52:49 GMT

     [ https://issues.apache.org/jira/browse/FALCON-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pallavi Rao updated FALCON-1702:
--------------------------------
    Description: 
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}

  was:
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)


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

Mime
View raw message