I bet there must be an older tez somewhere in your path.

On Thu, Aug 14, 2014 at 3:08 PM, Chen He <[email protected]> wrote:
> get latest pig and latest tez. run pig on tez in local mode and get
> following errors:
>
>
> Pig Stack Trace
> ---------------
> ERROR 2998: Unhandled internal error.
> org.apache.tez.common.TezUtils.createUserPayloadFromConf(Lorg/apache/hadoop/conf/Configuration;)Lorg/apache/tez/dag/api/UserPayload;
>
> java.lang.NoSuchMethodError:
> org.apache.tez.common.TezUtils.createUserPayloadFromConf(Lorg/apache/hadoop/conf/Configuration;)Lorg/apache/tez/dag/api/UserPayload;
>         at
> org.apache.pig.backend.hadoop.executionengine.tez.TezDagBuilder.newVertex(TezDagBuilder.java:563)
>         at
> org.apache.pig.backend.hadoop.executionengine.tez.TezDagBuilder.visitTezOp(TezDagBuilder.java:177)
>         at
> org.apache.pig.backend.hadoop.executionengine.tez.TezOperator.visit(TezOperator.java:221)
>         at
> org.apache.pig.backend.hadoop.executionengine.tez.TezOperator.visit(TezOperator.java:47)
>         at
> org.apache.pig.impl.plan.DependencyOrderWalker.walk(DependencyOrderWalker.java:70)
>         at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:46)
>         at
> org.apache.pig.backend.hadoop.executionengine.tez.TezJobCompiler.buildDAG(TezJobCompiler.java:63)
>         at
> org.apache.pig.backend.hadoop.executionengine.tez.TezJobCompiler.getJob(TezJobCompiler.java:104)
>         at
> org.apache.pig.backend.hadoop.executionengine.tez.TezJobCompiler.compile(TezJobCompiler.java:73)
>         at
> org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher.launchPig(TezLauncher.java:132)
>         at
> org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.launchPig(HExecutionEngine.java:279)
>         at org.apache.pig.PigServer.launchPlan(PigServer.java:1378)
>         at
> org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1363)
>         at org.apache.pig.PigServer.execute(PigServer.java:1352)
>         at org.apache.pig.PigServer.executeBatch(PigServer.java:403)
>         at org.apache.pig.PigServer.executeBatch(PigServer.java:386)
>         at
> org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:170)
>         at
> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:233)
>         at
> org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:204)
>         at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:81)
>         at org.apache.pig.Main.run(Main.java:619)
>         at org.apache.pig.Main.main(Main.java:167)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
> ================================================================================

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to