what does your script1-hadoop.pig look like?

The error you are getting happens when the pig preprocessor can't
substitute Pig variables (the stuff you specify with -param and
%default, etc).  Do you have $PIGDIR in your script somewhere?

-D

On Fri, Feb 12, 2010 at 6:51 AM, Alex Parvulescu
<[email protected]> wrote:
> Hello,
>
> I seem to have broken my Pig install, and I don't know where to look.
>
> If I use directly the script (grunt) everything works ok, but every time I
> try to run a pig script:  'java -cp $PIGDIR/pig.jar:$HADOOPSITEPATH
> org.apache.pig.Main script1-hadoop.pig'
>
> I get this nice error: [main] ERROR org.apache.pig.Main - ERROR 2999:
> Unexpected internal error. Undefined parameter : PIGDIR
>
> Obviously I have the PIGDIR var set:
>> echo $PIGDIR
>> /home/alex/hadoop/pig
>
> This is something that I did, as I have used 0.5 and 0.6 and a patched
> version of 0.6 in parallel, but I can't figure out where to look. Any
> version I try to start now, gives the same error.
>
> any help would be greatly appreciated!
>
> alex
>

Reply via email to