Hi,
I've been trying to set up Hadoop as an Eclipse project, but am having
some difficulties. I've tried importing a project and using the
Eclipse subversion plugin, I've tried creating a project from an
existing source and pointing it at my Hadoop installation folder. I've
also tried creating an empty project and importing in an existing
filesystem - my hadoop installation.
ALl these methods create a project, but with the following problem.
While Eclipse correctly recognises most packages and creates these as
packages in the package explorer, under a src/java package folder, the
org.apache.hadoop.fs and org.apache.hadoop.mapred packages behave
differently. They are put in src/java/org/apache/hadoop/fs and
src/java/org/apache/hadoop/mapred folders, with all their classes then
in the default package under this folder.
As a result there are errors in the project due to eclipse not being
able to resolve names, and I can't compile. I was wondering if anyone
else had come across this problem and been able to sort it out. Or
perhaps this question is better asked in an eclipse forum? BTW, It
won't let me rename in the usual fashion - refactor->rename.
Thanks for any help,
Ollie