|
|
Pavel Gutin 2010-03-09, 16:26
I am trying to play around with pig, but i have problems running even the basic tutorial. Both scripts just hang. I tried it in cygwin in vista, as well as on a RedHat box with the same results.
Here's the output if the first one:
[user@server pigtmp]$ java -cp ./pig.jar org.apache.pig.Main -x local script1-local.pig 2010-03-09 10:56:42,004 [main] WARN org.apache.pig.PigServer - Function org.apache.pig.tutorial.NonURLDetector() will be called with following argument types: {chararray}. If you want to use different input argument types, please use explicit casts. 2010-03-09 10:56:42,005 [main] WARN org.apache.pig.PigServer - bytearray is implicitly casted to chararray under LOUserFunc Operator 2010-03-09 10:56:42,005 [main] WARN org.apache.pig.PigServer - Function org.apache.pig.tutorial.ToLower() will be called with following argument types: {chararray}. If you want to use different input argument types, please use explicit casts. 2010-03-09 10:56:42,005 [main] WARN org.apache.pig.PigServer - bytearray is implicitly casted to chararray under LOUserFunc Operator 2010-03-09 10:56:42,005 [main] WARN org.apache.pig.PigServer - Function org.apache.pig.tutorial.ExtractHour() will be called with following argument types: {chararray}. If you want to use different input argument types, please use explicit casts. 2010-03-09 10:56:42,005 [main] WARN org.apache.pig.PigServer - bytearray is implicitly casted to chararray under LOUserFunc Operator ##### it hangs here
Thank you for your help
-
Re: Can't run the tutorial
Ashutosh Chauhan 2010-03-10, 05:22
Try with higher memory.
[user@server pigtmp]$ java -Xmx768M -cp ./pig.jar org.apache.pig.Main -x local script1-local.pig
Hope it helps, Ashutosh
-
Re: Can't run the tutorial
Pavel Gutin 2010-03-10, 13:01
Thank you, but it didn't help. It still hangs in cygwin, and redhad
On Wed, Mar 10, 2010 at 12:22 AM, Ashutosh Chauhan <[EMAIL PROTECTED]> wrote: > Try with higher memory. > > [user@server pigtmp]$ java -Xmx768M -cp ./pig.jar org.apache.pig.Main -x local > script1-local.pig > > Hope it helps, > Ashutosh >
-
Re: Can't run the tutorial
Alan Gates 2010-03-15, 18:52
Which version of Pig is this? If it's trunk, then you should check that check that you can run Hadoop on your machine, as it appears it is not connecting to Hadoop. (As of version 0.7 Pig uses a local instance of Hadoop in local mode.)
Alan.
On Mar 9, 2010, at 8:26 AM, Pavel Gutin wrote:
> I am trying to play around with pig, but i have problems running even > the basic tutorial. Both scripts just hang. I tried it in cygwin in > vista, as well as on a RedHat box with the same results. > > Here's the output if the first one: > > [user@server pigtmp]$ java -cp ./pig.jar org.apache.pig.Main -x local > script1-local.pig > 2010-03-09 10:56:42,004 [main] WARN org.apache.pig.PigServer - > Function org.apache.pig.tutorial.NonURLDetector() will be called with > following argument types: {chararray}. If you want to use different > input argument types, please use explicit casts. > 2010-03-09 10:56:42,005 [main] WARN org.apache.pig.PigServer - > bytearray is implicitly casted to chararray under LOUserFunc Operator > 2010-03-09 10:56:42,005 [main] WARN org.apache.pig.PigServer - > Function org.apache.pig.tutorial.ToLower() will be called with > following argument types: {chararray}. If you want to use different > input argument types, please use explicit casts. > 2010-03-09 10:56:42,005 [main] WARN org.apache.pig.PigServer - > bytearray is implicitly casted to chararray under LOUserFunc Operator > 2010-03-09 10:56:42,005 [main] WARN org.apache.pig.PigServer - > Function org.apache.pig.tutorial.ExtractHour() will be called with > following argument types: {chararray}. If you want to use different > input argument types, please use explicit casts. > 2010-03-09 10:56:42,005 [main] WARN org.apache.pig.PigServer - > bytearray is implicitly casted to chararray under LOUserFunc Operator > ##### it hangs here > > Thank you for your help
|
|