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

Alan Gates commented on PIG-2660:
---------------------------------

Looks good.  Do we have any idea how often people implement 
PigProgressNotificationListerner?  I'm wondering if the calls to 
initialPlanNotfication in SyncProgressNotificationAdaptor and ScriptState 
should be wrapped with a catch for NoSuchMethodException in case people are 
using old listeners.  Other than that, +1.
                
> PPNL should get notified of plan before it gets executed
> --------------------------------------------------------
>
>                 Key: PIG-2660
>                 URL: https://issues.apache.org/jira/browse/PIG-2660
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Bill Graham
>            Assignee: Bill Graham
>         Attachments: PIG-2660.1.patch
>
>
> The {{PigProgressNotificationListner}} should get notified of the plan 
> ({{MROperPlan}}) before it gets executed. This allows listeners to inspect 
> the plan and have an idea what to expect in the execution flow. Proposal is 
> to add the following method to the PPNL interface, which is marked as 
> evolving:
> {code}
> public void initialPlanNotification(MROperPlan plan);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to