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

Shwetha G S commented on OOZIE-1807:
------------------------------------

I think even bundle change should be all or nothing(bundle and coord should use 
same transaction). If you ignore the the failure and succeed/fail the API, 
there is no way of knowing what succeeded/ what failed. If thats the 
requirement from some users, can we make it configurable?

> Make bundle change command synchronous
> --------------------------------------
>
>                 Key: OOZIE-1807
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1807
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Ryota Egashira
>            Assignee: Purshotam Shah
>         Attachments: OOZIE-1807-V2.patch, OOZIE-1807-V3.patch, 
> OOZIE-1807.patch
>
>
> It confusion for user when they issue change command and they are not sure if 
> changes are applied to all coords jobs.
> Fix is to call synchronously all coord from bundle and display error message 
> (if any) to user.
> purushah$ 
> /Users/purushah/views/sysc_command/oozie/distro/target/oozie-4.1.0-SNAPSHOT-distro/oozie-4.1.0-SNAPSHOT/bin/oozie
>  job -change 0000002-140424165425407-oozie-puru-B  -value 
> endtime=2013-01-01T00:00Z -oozie http://localhost:11000/oozie
> Change command for coord job : 0000004-140424165425407-oozie-puru-C failed. 
> Reason : Coord is in killed state
> Change command for coord job : 0000003-140424165425407-oozie-puru-C failed. 
> Reason : Coord is in killed state
> purushah$



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

Reply via email to