Guys, Trying pig 0.15 and tez 0.7. running pig script like this: pig -f main.pig -m properties
i'm getting following NPE. I'm attaching the pig script and the properties file in a while in this mail. Please lemme know uf i've missed anything obvious here. 5 org.apache.pig.impl.plan.VisitorException: ERROR 0: java.lang.NullPointerException 6 at org.apache.pig.backend.hadoop.executionengine.tez.plan.optimizer.ParallelismSetter.visitTezOp(ParallelismSetter.java:201) 7 at org.apache.pig.backend.hadoop.executionengine.tez.plan.TezOperator.visit(TezOperator.java:246) 8 at org.apache.pig.backend.hadoop.executionengine.tez.plan.TezOperator.visit(TezOperator.java:53) 9 at org.apache.pig.impl.plan.DependencyOrderWalker.walk(DependencyOrderWalker.java:87) 10 at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:46) 11 at org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher.processLoadAndParallelism(TezLauncher.java:449) 12 at org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher.launchPig(TezLauncher.java:163) 13 at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.launchPig(HExecutionEngine.java:304) 14 at org.apache.pig.PigServer.launchPlan(PigServer.java:1390) 15 at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1375) 16 at org.apache.pig.PigServer.execute(PigServer.java:1364) 17 at org.apache.pig.PigServer.executeBatch(PigServer.java:415) 18 at org.apache.pig.PigServer.executeBatch(PigServer.java:398) 19 at org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:171) 20 at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:234) 21 at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:205) 22 at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:81) 23 at org.apache.pig.Main.run(Main.java:502) 24 at org.apache.pig.Main.main(Main.java:177) 25 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 26 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 27 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 28 at java.lang.reflect.Method.invoke(Method.java:606) 29 at org.apache.hadoop.util.RunJar.main(RunJar.java:212) 30 Caused by: java.lang.NullPointerException 31 at org.apache.pig.backend.hadoop.executionengine.tez.plan.optimizer.TezOperDependencyParallelismEstimator.estimateParallelism(TezOperDependencyParallelismEstimator.java:114) 32 at org.apache.pig.backend.hadoop.executionengine.tez.plan.optimizer.ParallelismSetter.visitTezOp(ParallelismSetter.java:138) 33 ... 23 more Thanks -- Sachin Sabbarwal Linkedin: https://www.linkedin.com/profile?viewProfile=&key=95777265 Facebook: facebook.com/sachinsabbarwal Quora: http://www.quora.com/Sachin-Sabbarwal Blog: http://sachinsabbarwal.tumblr.com/
