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

Srikanth Sundarrajan commented on OOZIE-1531:
---------------------------------------------

[~bowenzhangusa], The feature ask  is generic for all oozie operations and not 
restricted to workflow/coord or bundle creation (id is return in case of 
creation is adequate). Ideally would like the following behaviour for 
synchronous apis

Bundle creation: Return success only bundle and coord are valid and created
Coord creation: Return success only when coord definition is valid and created 
(not necessary to action to materialize leave alone its status)
Workflow creation: Return success only when workflow definition is valid and 
inited
Suspend (for all object types): Return success only when the request element is 
suspended successfully (which should included recursively suspend all the child 
objects)
Resume (for all object types): Return success only when the requested element 
and all child objects are resumed
kill (for all object types): Return success only the requested element and 
child objects are killed


> Add a blocking / synchronous option to oozie client  
> -----------------------------------------------------
>
>                 Key: OOZIE-1531
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1531
>             Project: Oozie
>          Issue Type: New Feature
>            Reporter: Srikanth Sundarrajan
>            Assignee: Bowen Zhang
>
> Currently Oozie returns immediately after sending the request, there is not 
> warrantee that the request is correct or it has been done.
> ASK: a client Java API that blocks until the submitted job is running, it has 
> been killed, etc.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to