You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Sowmya Ramesh (JIRA)" <ji...@apache.org> on 2014/08/27 20:07:58 UTC

[jira] [Updated] (FALCON-644) Don't mask errors in Falcon message producer used in the workflow to send a message to the queue/topic

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

Sowmya Ramesh updated FALCON-644:
---------------------------------

    Description: 
In JMSMessageProducer all the exceptions are caught and success is returned [return 0] by default. Oozie will indicate that this WF action was successful as Falcon Messaging returns success.

WF shouldn't be failed if post-processing fails but instead of masking errors this can be controlled in the WF decision on failure.

{noformat}
<action name='succeeded-post-processing'>
...
 <ok to="end"/>
<!-- Shouldn't fail the WF if post processing fails -->
 <error to="end"/>
 </action>

{noformat}

Thoughts?


  was:
In JMSMessageProducer all the exceptions are caught and success is returned [return 0] by default. Oozie will indicate that this WF action was successful as Falcon Messaging returns success.

WF shouldn't be failed if post-processing fails but instead of masking errors this can be controlled in the WF decision on failure.

<noformat>
<action name='succeeded-post-processing'>
...
 <ok to="end"/>
<!-- Shouldn't fail the WF if post processing fails -->
 <error to="end"/>
 </action>

</noformat>

Thoughts?



> Don't mask errors in Falcon message producer used in the workflow to send a message to the queue/topic
> ------------------------------------------------------------------------------------------------------
>
>                 Key: FALCON-644
>                 URL: https://issues.apache.org/jira/browse/FALCON-644
>             Project: Falcon
>          Issue Type: Bug
>          Components: messaging
>            Reporter: Sowmya Ramesh
>
> In JMSMessageProducer all the exceptions are caught and success is returned [return 0] by default. Oozie will indicate that this WF action was successful as Falcon Messaging returns success.
> WF shouldn't be failed if post-processing fails but instead of masking errors this can be controlled in the WF decision on failure.
> {noformat}
> <action name='succeeded-post-processing'>
> ...
>  <ok to="end"/>
> <!-- Shouldn't fail the WF if post processing fails -->
>  <error to="end"/>
>  </action>
> {noformat}
> Thoughts?



--
This message was sent by Atlassian JIRA
(v6.2#6252)