Re: Reconstruct the PhysicalPlan

2012-11-28 Thread Sarah Mohamed
Yes. Thank you. -- Regards, Sarah M. Hassan On Wed, Nov 28, 2012 at 9:17 PM, Jonathan Coveney wrote: > Sarah, > > If you just want access to the "PhysicalPlan" (as in, that Object), then > take a look at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.Launcher > (a good example

Re: Reconstruct the PhysicalPlan

2012-11-28 Thread Jonathan Coveney
Sarah, If you just want access to the "PhysicalPlan" (as in, that Object), then take a look at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.Launcher (a good example of an implementing class is org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher). The Ph

Re: Reconstruct the PhysicalPlan

2012-11-26 Thread Sarah Mohamed
Yes, I need the physical plan for visualizing purpose. I think my question was not clear enough I was asking if I could have the physical plan as a tree/graph structure. What I did that I implemented the PigProgressNotificationListener interface and I built it myself, and this is what you mean rig

Re: Reconstruct the PhysicalPlan

2012-11-26 Thread Jonathan Coveney
What is your goal? When you say reconstruct, do you just mean get a handle on the physical plan? You can make your own execution flag (ie extend the interface behind local mode etc) and that method gives you the physical plan. 2012/11/24 Sarah Mohamed > Peace be on you, > > Is there a way to re