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 thinke365 <th...@gmail.com> on 2010/08/08 03:31:23 UTC

Re: How to Build Hadoop code in eclipse

Maybe the official way to build hadoop is using hudson, the developers just
using vim to make their work done, without IDE such as Eclipse.
In my opinion, hadoop did badly to cooperate with IDE.

ashish pareek wrote:
> 
> Hello Friends,
>                    If you know solution to this problem please reply back.
> 
> 
> On Mon, Jul 27, 2009 at 2:58 PM, ashish pareek <pa...@gmail.com>
> wrote:
> 
>> Hi Everybody,
>>
>>                   Is there any easy and elaborate page where its
>> explained
>> how to build hadoop code. I followed http://*wiki*.apache.org/*hadoop*/*
>> Eclipse*Environment instruction and even video but i getting error :
>>
>> BUILD FAILED : java.net.UnknownHostException : repo2.maven.org
>>
>> But when accessed through browser this site is working .
>>
>> I browse through proxy and I have set up user name ans password
>> correctly.
>>
>> Can any one suggest the possible soultion ?
>>
>> Thanks in advance.
>>
>> Regards,
>> Ashish
>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/How-to-Build-Hadoop-code-in-eclipse-tp24676996p29377931.html
Sent from the Hadoop core-dev mailing list archive at Nabble.com.


Re: How to Build Hadoop code in eclipse

Posted by Harsh J <qw...@gmail.com>.
Running the `ant eclipse-files` target will give you nearly usable
.project and .classpath files. Import the Hadoop project into Eclipse
using these.

Or you could always checkout a stable branch/tag via SVN and go ahead
with the original wiki instructions :)

On Wed, Aug 11, 2010 at 6:02 PM, Ahmad Shahzad <as...@gmail.com> wrote:
> Hi All,
>          I wanted to ask a related question to this one. How would you set
> up hadoop on eclipse if you dont want to download it from svn, rather you
> just want to configure a stable release e.g 0.20.2 on eclipse. So, i want to
> configure a stable release on eclipse and add/change the code i want and run
> it through ant.
>
> Ahmad
>
> On Sun, Aug 8, 2010 at 4:36 AM, Saikat Kanjilal <sx...@hotmail.com> wrote:
>
>> I've been able to build the code successfully in Eclipse by using the svn
>> plugin and importing the code and using ant.  I actually followed the wiki
>> instructions and did an svn checkout inside Eclipse and was able to run all
>> of the ant targets successfully.
>>
>> Sent from my iPhone
>>
>> On Aug 7, 2010, at 6:31 PM, thinke365 <th...@gmail.com> wrote:
>>
>> >
>> > Maybe the official way to build hadoop is using hudson, the developers
>> just
>> > using vim to make their work done, without IDE such as Eclipse.
>> > In my opinion, hadoop did badly to cooperate with IDE.
>> >
>> > ashish pareek wrote:
>> >>
>> >> Hello Friends,
>> >>                   If you know solution to this problem please reply
>> back.
>> >>
>> >>
>> >> On Mon, Jul 27, 2009 at 2:58 PM, ashish pareek <pa...@gmail.com>
>> >> wrote:
>> >>
>> >>> Hi Everybody,
>> >>>
>> >>>                  Is there any easy and elaborate page where its
>> >>> explained
>> >>> how to build hadoop code. I followed http://*wiki*.
>> apache.org/*hadoop*/*
>> >>> Eclipse*Environment instruction and even video but i getting error :
>> >>>
>> >>> BUILD FAILED : java.net.UnknownHostException : repo2.maven.org
>> >>>
>> >>> But when accessed through browser this site is working .
>> >>>
>> >>> I browse through proxy and I have set up user name ans password
>> >>> correctly.
>> >>>
>> >>> Can any one suggest the possible soultion ?
>> >>>
>> >>> Thanks in advance.
>> >>>
>> >>> Regards,
>> >>> Ashish
>> >>>
>> >>>
>> >>
>> >>
>> >
>> > --
>> > View this message in context:
>> http://old.nabble.com/How-to-Build-Hadoop-code-in-eclipse-tp24676996p29377931.html
>> > Sent from the Hadoop core-dev mailing list archive at Nabble.com.
>> >
>> >
>>
>



-- 
Harsh J
www.harshj.com

Re: How to Build Hadoop code in eclipse

Posted by Ahmad Shahzad <as...@gmail.com>.
Hi All,
          I wanted to ask a related question to this one. How would you set
up hadoop on eclipse if you dont want to download it from svn, rather you
just want to configure a stable release e.g 0.20.2 on eclipse. So, i want to
configure a stable release on eclipse and add/change the code i want and run
it through ant.

Ahmad

On Sun, Aug 8, 2010 at 4:36 AM, Saikat Kanjilal <sx...@hotmail.com> wrote:

> I've been able to build the code successfully in Eclipse by using the svn
> plugin and importing the code and using ant.  I actually followed the wiki
> instructions and did an svn checkout inside Eclipse and was able to run all
> of the ant targets successfully.
>
> Sent from my iPhone
>
> On Aug 7, 2010, at 6:31 PM, thinke365 <th...@gmail.com> wrote:
>
> >
> > Maybe the official way to build hadoop is using hudson, the developers
> just
> > using vim to make their work done, without IDE such as Eclipse.
> > In my opinion, hadoop did badly to cooperate with IDE.
> >
> > ashish pareek wrote:
> >>
> >> Hello Friends,
> >>                   If you know solution to this problem please reply
> back.
> >>
> >>
> >> On Mon, Jul 27, 2009 at 2:58 PM, ashish pareek <pa...@gmail.com>
> >> wrote:
> >>
> >>> Hi Everybody,
> >>>
> >>>                  Is there any easy and elaborate page where its
> >>> explained
> >>> how to build hadoop code. I followed http://*wiki*.
> apache.org/*hadoop*/*
> >>> Eclipse*Environment instruction and even video but i getting error :
> >>>
> >>> BUILD FAILED : java.net.UnknownHostException : repo2.maven.org
> >>>
> >>> But when accessed through browser this site is working .
> >>>
> >>> I browse through proxy and I have set up user name ans password
> >>> correctly.
> >>>
> >>> Can any one suggest the possible soultion ?
> >>>
> >>> Thanks in advance.
> >>>
> >>> Regards,
> >>> Ashish
> >>>
> >>>
> >>
> >>
> >
> > --
> > View this message in context:
> http://old.nabble.com/How-to-Build-Hadoop-code-in-eclipse-tp24676996p29377931.html
> > Sent from the Hadoop core-dev mailing list archive at Nabble.com.
> >
> >
>

Re: How to Build Hadoop code in eclipse

Posted by Saikat Kanjilal <sx...@hotmail.com>.
I've been able to build the code successfully in Eclipse by using the svn plugin and importing the code and using ant.  I actually followed the wiki instructions and did an svn checkout inside Eclipse and was able to run all of the ant targets successfully.

Sent from my iPhone

On Aug 7, 2010, at 6:31 PM, thinke365 <th...@gmail.com> wrote:

> 
> Maybe the official way to build hadoop is using hudson, the developers just
> using vim to make their work done, without IDE such as Eclipse.
> In my opinion, hadoop did badly to cooperate with IDE.
> 
> ashish pareek wrote:
>> 
>> Hello Friends,
>>                   If you know solution to this problem please reply back.
>> 
>> 
>> On Mon, Jul 27, 2009 at 2:58 PM, ashish pareek <pa...@gmail.com>
>> wrote:
>> 
>>> Hi Everybody,
>>> 
>>>                  Is there any easy and elaborate page where its
>>> explained
>>> how to build hadoop code. I followed http://*wiki*.apache.org/*hadoop*/*
>>> Eclipse*Environment instruction and even video but i getting error :
>>> 
>>> BUILD FAILED : java.net.UnknownHostException : repo2.maven.org
>>> 
>>> But when accessed through browser this site is working .
>>> 
>>> I browse through proxy and I have set up user name ans password
>>> correctly.
>>> 
>>> Can any one suggest the possible soultion ?
>>> 
>>> Thanks in advance.
>>> 
>>> Regards,
>>> Ashish
>>> 
>>> 
>> 
>> 
> 
> -- 
> View this message in context: http://old.nabble.com/How-to-Build-Hadoop-code-in-eclipse-tp24676996p29377931.html
> Sent from the Hadoop core-dev mailing list archive at Nabble.com.
> 
>