Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Is there a workaround to "Projection map of new predecessor is null" ??


Copy link to this message
-
Re: Is there a workaround to "Projection map of new predecessor is null" ??
hc busy 2010-09-23, 19:13
Ok, after reading and rereading 2k worth of PigLatin, we've finally found
the foul alias. The error is generated by the following pig latin:

g = group table by (a,b);
h = foreach g generate group, table.(*c*,d,f,*c*) as grp;
-- note c is repeated.

And if you work on this alias later on, it generates the following error.

2010-09-21 23:43:46,288 [main] ERROR org.apache.pig.tools.grunt.Grunt -
ERROR 2160: Error during fixing projections. Projection map of new
predecessor is null.

On Tue, Sep 21, 2010 at 2:52 PM, hc busy <[EMAIL PROTECTED]> wrote:

> Hi guys, I wanted to check if anybody has fixed this error and recall how
> to fix it?
>
> 2010-09-21 14:43:46,288 [main] ERROR org.apache.pig.tools.grunt.Grunt -
> ERROR 2160: Error during fixing projections. Projection map of new
> predecessor is null.
>
>
> I'm running a big pig file being developed by half a dozen people and I got
> the short straw by being the last one checking in. Is there an obvious fix
> to this problem or do I need to dig up a copy of pig source code?
>
> Thnx!!!
>
>
>