Why do you need hadoop in pig jar at all?
Just build the  jar-withouthadoop target and use whatever hadoop jar
you like on your classpath.

D

On Wed, Feb 2, 2011 at 11:29 AM, qi zheng <[email protected]> wrote:
> Hello Chaitanya,
>
> It still didn't work. I think the reason is in pig 0.8 it actually downloads
> the hadoop from online repository instead of using the jar under build
> directly. When I deleted the jar and ran ant, a new hadoop-core-0.20.2.jar
> was generated again.
>
> I think I will switch back to pig 0.7
>
> Thanks
>
> QI
>
> On Tue, Feb 1, 2011 at 11:32 PM, Chaitanya Krishna <
> [email protected]> wrote:
>
>> Hi Qi,
>>
>>  Can you try cleaning the build and then build jar afresh, by using 'ant
>> clean jar'? As per what i see in ant target, it takes the hadoop jar from
>> build directory. So, cleaning it up and building afresh might work.
>>
>> Hope this helps,
>>
>> Thanks,
>> Chaitanya.
>>
>> On Wed, Feb 2, 2011 at 9:43 AM, qi zheng <[email protected]> wrote:
>>
>> > Hi all,
>> >
>> > I made some changes in hadoop and generated the updated version of
>> > hadoop-core-0.20.2.jar to replace the one under pig/build/ivy/lib/pig.
>> But
>> > when I tried to use ant to get new pig.jar, it still told me that the new
>> > method I added in hadoop counldn't be found.
>> >
>> > Any idea?
>> >
>> > Thanks
>> > --
>> >
>> > Qi
>> > School of Engineering and Applied Science
>> > University of Pennsylvania
>> >
>>
>
>
>
> --
>
> Qi
> School of Engineering and Applied Science
> University of Pennsylvania
>

Reply via email to