Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

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

New Contributor

 

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 .

1 REPLY 1

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

Master Guru
Can you share the full script and the failure log written by Pig (you'll see the filename on the screen)?
Don't have an account?
Coming from Hortonworks? Activate your account here