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

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

By the time falcon get failure notifications of process instances from oozie 
there is chance that entity was deleted before re-running the workflow. In that 
case Falcon is throwing exception  saying rerun consumer failed. We fixed it by 
catching EntityNotRegistered Exception and logged it as warning.

> EntityNotRegisteredException when entity is deleted from falcon
> ---------------------------------------------------------------
>
>                 Key: FALCON-1757
>                 URL: https://issues.apache.org/jira/browse/FALCON-1757
>             Project: Falcon
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 0.9
>            Reporter: Pragya Mittal
>            Assignee: pavan kumar kolamuri
>             Fix For: 0.9
>
>         Attachments: FALCON-1757.patch
>
>
> When entity is deleted from falcon (which is scheduled using native 
> scheduler), the following exception is traced in logs :
> {noformat}
> 2016-01-19 13:07:42,975 INFO  - [RetryHandler:] ~ Logging in pragya 
> (CurrentUser:65)
> 2016-01-19 13:07:42,975 ERROR - [RetryHandler:] ~ Error in rerun consumer 
> (AbstractRerunConsumer:86)
> org.apache.falcon.entity.EntityNotRegisteredException: processMerlinNative 
> (PROCESS) not found
>         at org.apache.falcon.entity.EntityUtil.getEntity(EntityUtil.java:121)
>         at 
> org.apache.falcon.rerun.handler.AbstractRerunHandler.getWfEngine(AbstractRerunHandler.java:67)
>         at 
> org.apache.falcon.rerun.handler.AbstractRerunConsumer.run(AbstractRerunConsumer.java:78)
>         at java.lang.Thread.run(Thread.java:745)
> 2016-01-19 13:09:03,241 DEBUG - [RetryHandler:] ~ Dequeued Message: 
> clusterName=ProcessMultipleClustersTest-corp-40de481b*wfId=0001377-160118061527782-oozie-oozi-W*msgInsertTime=1453208763241*delayInMilliSec=180000*entityType=PROCESS*entityName=processMerlinNative*instance=2016-01-19T12:07Z*runId=1*attempts=3*failRetryCount=0*workflowUser=dataqa
>  (DelayedQueue:70)
> {noformat}
> This happens because retry is enabled for the process and oozie tries to 
> rerun the job while it is deleted from falcon.



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

Reply via email to