hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Been <daveb...@gmail.com>
Subject Re: How to Build Hadoop code in eclipse
Date Mon, 27 Jul 2009 19:12:54 GMT
Thanks for that link.   Eclipse fails miserably if left to compile on
its own, but from the instructions (your link) i added the View ->
Ant, added the root level build.xml and ran compile, which appears to
be what you are doing.
It failed a couple times connecting to sites, but repeatedly running
it eventually completed.

I was manually resolving the 4000+ compile errors by adding
appropriate jars from my eclipse plugins dir (I added 20+ jars and
still had 264 errors left).

Curious thing is TestThriftfs doesn't compile because it doesn't have
them imports:

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hdfs.DistributedFileSystem;
import org.apache.hadoop.hdfs.MiniDFSCluster;

there is no way it would ever compile no matter it be ant or eclipse.
it is probably excluded from the ant build i gather.

I finally d/led the binary version of 0.20 and that is working.
but in the eclipse build i do not find hadoop.sh ....

On Mon, Jul 27, 2009 at 2:28 AM, ashish pareek<pareekash@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
>

Mime
View raw message