You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by qi zheng <qz...@gmail.com> on 2011/02/02 05:13:02 UTC

Question about the hadoop-core-0.20.2.jar

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

Re: Question about the hadoop-core-0.20.2.jar

Posted by Dmitriy Ryaboy <dv...@gmail.com>.
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 <qz...@gmail.com> 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 <
> chaitanyavv.iiith@gmail.com> 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 <qz...@gmail.com> 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
>

Re: Question about the hadoop-core-0.20.2.jar

Posted by qi zheng <qz...@gmail.com>.
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 <
chaitanyavv.iiith@gmail.com> 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 <qz...@gmail.com> 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

Re: Question about the hadoop-core-0.20.2.jar

Posted by Chaitanya Krishna <ch...@gmail.com>.
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 <qz...@gmail.com> 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
>