Robert Kanter created OOZIE-2648:
------------------------------------

             Summary: 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


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