Grokbase Groups Pig user May 2013
FAQ
Hey all,

One of my scripts is giving the below error. The script works fine when I run it in Grunt but I get the "Error to read counters into Rank operation counterSize 0".
??
I see this https://issues.apache.org/jira/browse/PIG-2985 but unable to decipher. Can someone let me know what this means?


Pig Stack Trace
---------------
ERROR 2043: Unexpected error during execution.

org.apache.pig.backend.executionengine.ExecException: ERROR 2043: Unexpected error during execution.
     at org.apache.pig.PigServer.launchPlan(PigServer.java:1275)
     at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1249)
     at org.apache.pig.PigServer.execute(PigServer.java:1239)
     at org.apache.pig.PigServer.executeBatch(PigServer.java:333)
     at org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:137)
     at org.apache.pig.tools.grunt.GruntParser.processFsCommand(GruntParser.java:1021)
     at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:123)
     at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:194)
     at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:170)
     at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:84)
     at org.apache.pig.Main.run(Main.java:604)
     at org.apache.pig.Main.main(Main.java:157)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
Caused by: java.lang.RuntimeException: Error to read counters into Rank operation counterSize 0
     at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.saveCounters(JobControlCompiler.java:369)
     at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.updateMROpPlan(JobControlCompiler.java:315)
     at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:370)
     at org.apache.pig.PigServer.launchPlan(PigServer.java:1264)
     ... 16 more
Caused by: java.lang.NullPointerException
     at org.apache.hadoop.mapreduce.counters.Limits.filterName(Limits.java:44)
     at org.apache.hadoop.mapreduce.counters.Limits.filterGroupName(Limits.java:52)
     at org.apache.hadoop.mapreduce.counters.AbstractCounters.getGroup(AbstractCounters.java:220)
     at org.apache.hadoop.mapred.Counters.getGroup(Counters.java:84)
     at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.saveCounters(JobControlCompiler.java:343)
     ... 19 more


-JM

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categoriespig, hadoop
postedMay 13, '13 at 5:48p
activeMay 13, '13 at 5:48p
posts1
users1
websitepig.apache.org

1 user in discussion

John Meek: 1 post

People

Translate

site design / logo © 2021 Grokbase