Reply
New Contributor
Posts: 1
Registered: ‎12-31-2015

ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1066: Unable to open iterator for alias

 

I have loaded data using below statement , which was successful-

a = load 'data.txt' using PigStorage (' ');

 

Next I tried to execute the  below statement
b = group a by $3;

 

Here I am getting this error : ERROR 1066: Unable to open iterator for alias b.

 

I am running pig in ocal mode .

 

Can anyone please guide me to resolve this .

Posts: 1,836
Kudos: 415
Solutions: 295
Registered: ‎07-31-2013

Re: ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1066: Unable to open iterator for alias

Can you share the full script and the failure log written by Pig (you'll see the filename on the screen)?
Announcements