hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prashant Sharma <prashant.ii...@gmail.com>
Subject Re: building hadoop
Date Fri, 18 Nov 2011 10:46:37 GMT
I am sorry for my last post. There is no install target in ant. you may use
ant clean jar. Also you can press a tab after writing ant to see all
available targets.


On Fri, Nov 18, 2011 at 4:10 PM, Prashant Sharma
<prashant.iiith@gmail.com>wrote:

>
> Bypassing dependency resolver is not possible as such.  Incase you are
> behind a proxy which restricts downloading dependencies you can first build
> it on a machine which has internet access using command 'ant clean
> install'. And then you can simply copy the ivy2 chache ~/.ivy  to your
> system and then try ant clean install.
> -P
>
>
> On Fri, Nov 18, 2011 at 3:57 PM, mohmmadanis moulavi <
> anis_moulavi@yahoo.co.in> wrote:
>
>> How can I skip dependency resolver,
>> without modification of code also it's not working at all
>>
>>
>>
>>
>> Thanks & Regards,
>>
>> Mohmmadanis Moulavi
>>
>>
>>
>> ________________________________
>>  From: Prashant Sharma <prashant.iiith@gmail.com>
>> To: common-dev@hadoop.apache.org; mohmmadanis moulavi <
>> anis_moulavi@yahoo.co.in>
>> Sent: Friday, 18 November 2011 12:34 PM
>> Subject: Re: building hadoop
>>
>> I think you should build it online for first time.
>>
>> On Fri, Nov 18, 2011 at 12:26 PM, mohmmadanis moulavi <
>> anis_moulavi@yahoo.co.in> wrote:
>>
>> > Friends,
>> >
>> >
>> >
>> > I have modified the source program of hadoop 0.20.2, and i want to build
>> > it using  "ant"  but it's not working .
>> >
>> >
>> >
>> > I use the following command
>> >
>> >
>> >
>> > ant -Doffline=true -Dresolvers=internal
>> >
>> > the ouput of this command looks like as follows:
>> >
>> >
>> > clover.setup:
>> >
>> > clover.info:
>> >      [echo]
>> >      [echo]      Clover not found. Code coverage reports disabled.
>> >      [echo]
>> >
>> > clover:
>> >
>> > ivy-download:
>> >
>> > ivy-init-dirs:
>> >
>> > ivy-probe-antlib:
>> >
>> > ivy-init-antlib:
>> >
>> > ivy-init:
>> > [ivy:configure] :: Ivy 2.0.0-rc2 - 20081028224207 ::
>> > http://ant.apache.org/ivy/ ::
>> > :: loading settings :: file =
>> > /home/internal/studentpr/anis/hadoop-0.20.2/ivy/ivysettings.xml
>> >
>> > ivy-resolve-common:
>> > [ivy:resolve] :: resolving dependencies ::
>> > org.apache.hadoop#Hadoop;working@yc4.cn.yuva.param
>> > [ivy:resolve]  confs: [common]
>> >
>> >
>> >
>> >
>> --------------------------------------------------------------------------------------------------------
>> >
>> > and it stops there.
>> >
>> >
>> > If anyone knows it how to build it, please let me know it.
>> >
>> >
>> >
>> > Regards,
>> >
>> > Mohmmdanis Moulavi
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message