Re: embedded pig error

2011-05-17 Thread Jianting Cao
Thanks very much. I solved the problem by rebuilding pig.jar without modifying anything. Jianting - Original Message - From: "Andrew Wells" To: user@pig.apache.org Sent: Friday, May 13, 2011 10:06:12 PM Subject: Re: embedded pig error I should be more clear, append the pat

Re: embedded pig error

2011-05-13 Thread Andrew Wells
I should be more clear, append the path the root class path, not the classpath On Sat, May 14, 2011 at 1:05 AM, Andrew Wells wrote: > I had a simular problem, you need to add the path to the rootClasspath, not > just the class path. > > > > On Fri, May 13, 2011 at 8:49 PM, Daniel Dai wrote: >

Re: embedded pig error

2011-05-13 Thread Andrew Wells
I had a simular problem, you need to add the path to the rootClasspath, not just the class path. On Fri, May 13, 2011 at 8:49 PM, Daniel Dai wrote: > Sounds like a hadoop job setup exception. Go to job tracker UI, you may > have chance to locate the job and check what happen in job setup. > >

Re: embedded pig error

2011-05-13 Thread Daniel Dai
Sounds like a hadoop job setup exception. Go to job tracker UI, you may have chance to locate the job and check what happen in job setup. Daniel On 05/11/2011 05:45 PM, Jianting Cao wrote: I'm trying to embed pig into java program. I tried two approaches, none of them works. Approach 1: I fo

embedded pig error

2011-05-11 Thread Jianting Cao
I'm trying to embed pig into java program. I tried two approaches, none of them works. Approach 1: I followed http://pig.apache.org/docs/r0.6.0/setup.html#Embedded+Programs and then ran into the error: cannot find the hadoop-core.xml nor site-core.xml. Then I find the solution at http://mail-arch