You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by mohmmadanis moulavi <an...@yahoo.co.in> on 2011/11/18 07:56:49 UTC
building hadoop
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
Re: building hadoop
Posted by Prashant Sharma <pr...@gmail.com>.
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
<pr...@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 <pr...@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
>> >
>>
>
>
Re: building hadoop
Posted by Steve Loughran <st...@apache.org>.
On 18/11/11 11:02, mohmmadanis moulavi wrote:
> I want to build it offline anyway
>
>
>
>
yes, and what everyone is saying is "to do this you need to have cached
locally every artifact that the ivy-based build process downloads". This
can be done by
-doing an online build
-getting someone else to do an online build and getting a copy of
~/.ivy/cache off their box
That's it. There is no support for initial offline as the source tree
doesn't include all the dependencies.
Re: building hadoop
Posted by mohmmadanis moulavi <an...@yahoo.co.in>.
I want to build it offline anyway
Thanks & Regards,
Mohmmadanis Moulavi
________________________________
From: Prashant Sharma <pr...@gmail.com>
To: common-dev@hadoop.apache.org; mohmmadanis moulavi <an...@yahoo.co.in>
Sent: Friday, 18 November 2011 4:10 PM
Subject: Re: building hadoop
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 <pr...@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
> >
>
Re: building hadoop
Posted by Prashant Sharma <pr...@gmail.com>.
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 <pr...@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
> >
>
Re: building hadoop
Posted by mohmmadanis moulavi <an...@yahoo.co.in>.
How can I skip dependency resolver,
without modification of code also it's not working at all
Thanks & Regards,
Mohmmadanis Moulavi
________________________________
From: Prashant Sharma <pr...@gmail.com>
To: common-dev@hadoop.apache.org; mohmmadanis moulavi <an...@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
>
Re: building hadoop
Posted by Prashant Sharma <pr...@gmail.com>.
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
>