Hello,
sorry for the delay, but I wanted to build from the source again just to
make sure.
The script is like this:
'A = load '/home/alex/hadoop/reviews/r.csv' using PigStorage('\t') as (id:
long, hid: long, locale: chararray, r1: int, r2: int, r3: int, r4: int); '
That's it. My guess is that Pig doesn't even start. Do you think I need to
change something in the properties file? I'm not sure anymore and I don't
have a lot of luck going through the sources.
And another thing, I tried running 'ant test' for both 0.6-branch and trunk
at the same time (because they take a very long time) and both test scripts
failed. I've switched to running them one after the other and they are fine.
Do you think that is ok?
thanks for your time,
alex
On Fri, Feb 12, 2010 at 6:37 PM, Dmitriy Ryaboy <[email protected]> wrote:
> 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
> >
>