I have a bag called Ftel. describe Ftel;
results in following -
Ftel: {billVal:int, billCount:int}
An example of dump from Ftel is -
(20,1)
(5,1)
(5,1)
(10,1)
...
etc.
I grouped the above bag using the command Gtel = group Ftel by billVal;
Now, Dump Gtel;
throws following error -
Pig Stack Trace
ERROR 1066: Unable to open iterator for alias Gtel
org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to open iterator for alias Gtel
at org.apache.pig.PigServer.openIterator(PigServer.java:765)
at org.apache.pig.tools.grunt.GruntParser.processDump(GruntParser.java:615)
at
org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:303)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:168)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:144)
at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:76)
at org.apache.pig.Main.run(Main.java:455)
at org.apache.pig.Main.main(Main.java:107)
Caused by: java.io.IOException: Job terminated with anomalous status FAILED
at org.apache.pig.PigServer.openIterator(PigServer.java:755)
I don't know what is causing this issue. Please help.
Thanks!