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<[email protected]> 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 >
