Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Error 2042 in version 0.8.0


Copy link to this message
-
RE: Error 2042 in version 0.8.0
Try running your script with -Dpig.usenewlogicalplan=false and also file a ticket in the event that this is not already fixed.

-----Original Message-----
From: Kaluskar, Sanjay [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 20, 2011 3:10 AM
To: [EMAIL PROTECTED]
Subject: Error 2042 in version 0.8.0

I am seeing this stack when running a script that runs fine in 0.5.0, 0.6.0 and 0.7.0. Is this a known issue?

 

ERROR 2042: Error in new logical plan. Try -Dpig.usenewlogicalplan=false.

 

org.apache.pig.impl.logicalLayer.FrontendException: ERROR 2042: Error in new logical plan. Try -Dpig.usenewlogicalplan=false.

               at
org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.compile(H
ExecutionEngine.java:309)

               at
org.apache.pig.PigServer.compilePp(PigServer.java:1354)

               at
org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1196)

               at org.apache.pig.PigServer.execute(PigServer.java:1190)

               at
org.apache.pig.PigServer.access$100(PigServer.java:128)

               at
org.apache.pig.PigServer$Graph.execute(PigServer.java:1517)

               at
org.apache.pig.PigServer.executeBatchEx(PigServer.java:362)

               at
org.apache.pig.PigServer.executeBatch(PigServer.java:329)

               at
org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:112
)

               at
org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java
:169)

               at
org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java
:141)

               at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:90)

               at org.apache.pig.Main.run(Main.java:510)

               at org.apache.pig.Main.main(Main.java:107)

Caused by: java.lang.NullPointerException

               at
org.apache.pig.newplan.ReverseDependencyOrderWalker.walk(ReverseDependen
cyOrderWalker.java:70)

               at
org.apache.pig.newplan.PlanVisitor.visit(PlanVisitor.java:50)

               at
org.apache.pig.newplan.logical.optimizer.SchemaResetter.visit(SchemaRese
tter.java:105)

               at
org.apache.pig.newplan.logical.relational.LOGenerate.accept(LOGenerate.j
ava:229)

               at
org.apache.pig.newplan.DependencyOrderWalker.walk(DependencyOrderWalker.
java:75)

               at
org.apache.pig.newplan.logical.optimizer.SchemaResetter.visit(SchemaRese
tter.java:94)

               at
org.apache.pig.newplan.logical.relational.LOForEach.accept(LOForEach.jav
a:71)

               at
org.apache.pig.newplan.DependencyOrderWalker.walk(DependencyOrderWalker.
java:75)

               at
org.apache.pig.newplan.PlanVisitor.visit(PlanVisitor.java:50)

               at
org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.compile(H
ExecutionEngine.java:261)

               ... 13 more

 

 

Sanjay Kaluskar
Ph: +91-80-4020-3083

Sr. Architect
VOIP: +1-650-385-6659

Platform
Mobile: +91-96322-24246