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

Purshotam Shah commented on OOZIE-2259:
---------------------------------------

Thanks Jaydeep, most of thing looks good.
My only concern is having different thread pool. Default http timeout may not 
work for most cases.
We might have to increase timeout say 1 min. If we have few coord with wrong 
url ( or takes more time) then it might impact other workflows SLA.
We noticed similar case with hcat connection caching. If one coord has 
incorrect URL, it impacted others.

[~rohini] [~rkanter] [~sriksun] what u guys think? If others are ok, +1 from my 
side.

> Create a callback action 
> -------------------------
>
>                 Key: OOZIE-2259
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2259
>             Project: Oozie
>          Issue Type: New Feature
>          Components: action
>            Reporter: Jaydeep Vishwakarma
>            Assignee: Jaydeep Vishwakarma
>         Attachments: OOZIE-2259-v1.patch, OOZIE-2259-v3.patch, 
> OOZIE-2259-v4.patch, OOZIE-2259-v5.patch
>
>
> Need an action to send notification to external server by oozie. We should be 
> able to do multiple types of callback, Currently I know jms and http call. It 
> should suppose to have capability to call diffrent types of methods along 
> with n number of arguments. 
> The sample workflow with callback action 
> {code:xml}
> <workflow-app name="[WF-DEF-NAME]" xmlns="uri:oozie:workflow:0.3">
> ...
> <action name="[NODE-NAME]">
> <callback>
>       <host>[HOST]</host>
>       <method>[METHOD]</command>
>       <arg>
>               <key>[KEY]</key><value>[VALUE]</value>
>       <arg>
>             ...
> </action>
> ...
> </callback>
> ...
> </workflow-app>
> {code}
> HOST : by the host system can figure out if it is http or jms callback 
> action. System will send the notification to that host.
> METHOD : it can be POST/GET/QUEUE/TOPIC



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

Reply via email to