Re: pig - Installation

2012-08-10 Thread Prashant Kommireddi
Alan's book is great http://ofps.oreilly.com/titles/9781449302641/ You can start here too http://pig.apache.org/docs/r0.10.0/ As always, please post any questions you may have and someone should be able to help. On Aug 10, 2012, at 8:47 PM, Manish Bhoge wrote: > Check the link cwiki.apache.org

Re: pig - Installation

2012-08-10 Thread Manish Bhoge
Check the link cwiki.apache.org/PIG Thank You, Manish Sent from my BlackBerry, pls excuse typo -Original Message- From: prabhu k Date: Sat, 11 Aug 2012 08:42:49 To: Reply-To: user@pig.apache.org Subject: pig - Installation Hi Users, Im new to pig, Can anyone provide pig installation &

Re: Pig 0.10.0 slow startup

2012-08-10 Thread Prashant Kommireddi
Thanks Chun. Jon, any idea what on 0.11 might have fixed it? On Thu, Aug 9, 2012 at 3:32 PM, Chun Yang wrote: > I tried with pig11 (from git), timing for the two variants are more > comparable. > > stats for `pig11 -b -e 'explain -script students-a.pig'` > 6.33s user 0.74s system 153% cpu 4.611

Re: FileAlreadyExistsException while running pig

2012-08-10 Thread Mohammad Tariq
Hello Haitao, Each time we run a MapReduce job, the job expects the output to be non-existent. If the output path is already there then FileAlreadyExists exception is thrown. And as we know that each Pig job is eventually a MapReduce job, it also expects the same. Regards, Mohammad Tariq

Re: FileAlreadyExistsException while running pig

2012-08-10 Thread Alan Gates
Usually that means the the directory you are trying to store to already exists. Pig won't overwrite existing data. You should either move or remove the directory or change the directory name in your store function. Alan. On Aug 9, 2012, at 7:42 PM, Haitao Yao wrote: > hi, all > I got t

HBaseStorage STORE : IndexOutOfBoundsException

2012-08-10 Thread Richipal Singh
I was getting a similar error, after inspecting my data I found out the culprit. Here is my data row separated by '\t', look at the 8th field '1' which is causing the error in my case. 24233 3568926 13659 346207 60859 1 136084 '1' 2 ' 0.0 To fix this you can write a simple UDF to return value with

Re: Loading data from a SQL database?

2012-08-10 Thread Ruslan Al-Fakikh
Hi, In my project, we had to develop our own Loader for that purpose. Thanks On Fri, Aug 10, 2012 at 2:28 PM, Vincent Barat wrote: > Really no advise on that from anybody ? > > Le 08/08/12 18:33, Vincent Barat a écrit : >> >> Hi, >> >> I'm seeking for a way to load data from a SQL database. >>

Re: Re: can we run org.apache.pig.Main in Eclipse on windows OS?

2012-08-10 Thread Subir S
My mistake! I missed the Eclipse part of your question :) On Fri, Aug 10, 2012 at 3:15 PM, lulynn_2008 wrote: > Thanks. But the link is about "to run pig shell in windows". > Mine question is about to run org.apache.pig.Main in Eclipse on windows. I > can run Main in eclipse on linux. But in win

Re: Loading data from a SQL database?

2012-08-10 Thread Vincent Barat
Really no advise on that from anybody ? Le 08/08/12 18:33, Vincent Barat a écrit : Hi, I'm seeking for a way to load data from a SQL database. It seems that the SQLLoader (yet mentioned in the Wiki) no longer exists. Sqoop seems to be a good solution, but it is not so convenient in my us c

Re:Re: can we run org.apache.pig.Main in Eclipse on windows OS?

2012-08-10 Thread lulynn_2008
Thanks. But the link is about "to run pig shell in windows". Mine question is about to run org.apache.pig.Main in Eclipse on windows. I can run Main in eclipse on linux. But in windows, after running Main with: Run as --> Java Application, the shell immediately terminates in the console. And the

Re: can we run org.apache.pig.Main in Eclipse on windows OS?

2012-08-10 Thread Subir S
See reply from Thejas in [1] [1] http://grokbase.com/t/pig/user/1275v7x940/pig-for-windows On Fri, Aug 10, 2012 at 12:43 PM, lulynn_2008 wrote: > Hi All, > > Is there anybody who tried to run org.apache.pig.Main in Eclipse on > windows OS? > Can we run pig project in Eclipse on windows OS? If