hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <qwertyman...@gmail.com>
Subject Re: building mapreduce project on eclipse
Date Sat, 16 Oct 2010 02:05:53 GMT
Sometimes there's faults in the .classpath file among the jars that are on
the build path. Correcting those manually should fix this issue as am sure
the ant build pulled down proper hadoop common and hdfs jars. They might
just have wrong version names in .classpath sometimes (like say hadoop-core
instead of common). Check it out and fix it.

--
Harsh J
http://www.harshj.com

On Oct 16, 2010 2:06 AM, "goutham patnaik" <goutham.patnaik@gmail.com>
wrote:

i checked out (from http://svn.apache.org/repos/asf/hadoop/mapreduce/trunk)
the
mapreduce project into eclipse. Following the instructions from the hadoop
screencast (http://vimeo.com/4193623) and the hadoop eclipse setup
instructions (http://wiki.apache.org/hadoop/EclipseEnvironment), i did an
ant build with the following targets selected -

clean
compile-mapred-test
eclipse-files

The ant build and the corresponding Build Project were successful, but
eclipse still doesnt recognize classes / libraries from the hadoop-common
project - which i also checked out and built (successfully). is there a way
to include the hadoop-common project inside the mapreduce project ?

Also, im looking to contribute to the hadoop project in the near future - do
most committers out there checkout from and use eclipse for this ? or is
there a more efficient way you've found to build your hadoop projects ?


Thanks in advance


Goutham

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