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

Alan Gates commented on PIG-3199:
---------------------------------

Take a look at PigNotificationListener.initialPlanNotification.  It seems like 
this will give you what you want, since each of the sources and sinks for the 
MR jobs are in here.  To my chagrin this exposes the MR plan.  Someone snuck 
that past me.
                
> Expose LogicalPlan via PigServer API
> ------------------------------------
>
>                 Key: PIG-3199
>                 URL: https://issues.apache.org/jira/browse/PIG-3199
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>    Affects Versions: 0.10.0
>            Reporter: Prashant Kommireddi
>            Assignee: Prashant Kommireddi
>             Fix For: 0.12
>
>         Attachments: PIG-3199.patch
>
>
> LogicalPlan could be exposed to user in order for one to make validations 
> based on it. For eg, one could get Load/Store paths or other operators and be 
> able to perform checks such as whether I/O paths are valid etc.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to