Hi,
I'm facing what seem to be re-entrance errors when using PIG through
the Java API.
I know that the PigServer object is not reentrant, so I instantiate
several PigServers and run them in separated threads. Even in that
case, I face the infamous exception "Unable to find clone for op
Project 5-482 Projections: [3] Overloaded: false".
Is there other reentrance issues in the PIG library?
2010-02-25 15:49:06,128 | ERROR | Errors | stderr | Caused by:
java.lang.RuntimeException: Unable to find clone for op Project
5-482 Projections: [3] Overloaded: false
2010-02-25 15:49:06,128 | ERROR | Errors | stderr | at
org.apache.pig.impl.logicalLayer.LogicalPlan.clone(LogicalPlan.java:139)
2010-02-25 15:49:06,129 | ERROR | Errors | stderr | at
org.apache.pig.impl.logicalLayer.LogicalPlanCloneHelper.<init>(LogicalPlanCloneHelper.java:63)
2010-02-25 15:49:06,129 | ERROR | Errors | stderr | at
org.apache.pig.impl.logicalLayer.LogicalPlanCloner.getClonedPlan(LogicalPlanCloner.java:45)
2010-02-25 15:49:06,129 | ERROR | Errors | stderr | at
org.apache.pig.impl.logicalLayer.parser.QueryParser.ForEachClause(QueryParser.java:3083)
2010-02-25 15:49:06,129 | ERROR | Errors | stderr | at
org.apache.pig.impl.logicalLayer.parser.QueryParser.BaseExpr(QueryParser.java:1370)
2010-02-25 15:49:06,130 | ERROR | Errors | stderr | at
org.apache.pig.impl.logicalLayer.parser.QueryParser.Expr(QueryParser.java:949)
2010-02-25 15:49:06,130 | ERROR | Errors | stderr | at
org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:738)
2010-02-25 15:49:06,130 | ERROR | Errors | stderr | at
org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:63)
2010-02-25 15:49:06,130 | ERROR | Errors | stderr | at
org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1036)
2010-02-25 15:49:06,130 | ERROR | Errors | stderr | at
org.apache.pig.PigServer$Graph.clone(PigServer.java:1079)
2010-02-25 15:49:06,130 | ERROR | Errors | stderr | at
org.apache.pig.PigServer.clonePlan(PigServer.java:390)
2010-02-25 15:49:06,130 | ERROR | Errors | stderr | at
org.apache.pig.PigServer.compileLp(PigServer.java:806)
2010-02-25 15:49:06,131 | ERROR | Errors | stderr | at
org.apache.pig.PigServer.compileLp(PigServer.java:793)
2010-02-25 15:49:06,131 | ERROR | Errors | stderr | at
org.apache.pig.PigServer.store(PigServer.java:510)