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

Abhishek Bafna commented on OOZIE-2648:
---------------------------------------

Thanks [~rkanter] for the review and committing it.

> Child jobs shouldn't send callbacks to Oozie
> --------------------------------------------
>
>                 Key: OOZIE-2648
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2648
>             Project: Oozie
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>            Assignee: Abhishek Bafna
>             Fix For: 4.3.0
>
>         Attachments: OOZIE-2648-00.patch
>
>
> I noticed that all action.xml files end up having 
> {{job.end.notification.url}} set to send the callback to the Oozie Server 
> when they finish.  This makes it so that all child MR jobs have this, and 
> send notifications to the Oozie Server.  This isn't the end of the world, but 
> it's unnecessary, especially if you end up with multiple child jobs (e.g. a 
> Hive Action that spawns multiple MR jobs).  We should consider only adding it 
> to the Launcher Job.  The exception to this is the MapReduce Action, where 
> the Launcher Job exits early and Oozie directly monitors the MR child; in 
> this case, the child should have it and the Launcher should not.
> The call in {{JavaActionExecutor}} to {{injectActionCallback(context, 
> actionConf);}} is where this happens.



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

Reply via email to