|
I just performed the following steps on my Windows XP machine:
1) Removed hadoop-0.16.4-eclipse-plugin.jar from eclipse/plugins/ That having been said, under "Configuration details," under "Configured plugins," it does list: I'm trying to build a 0.18.0 release using Eclipse 3.2, and the Eclipse build is failing because the signature of org.eclipse.core.runtime.Status has changed. Could this be the same problem?
I've attached a quick hack that makes things compile, but, as a non-eclipse user, I have no idea if they actually run. I can verify Aaron's account - I see the same thing. The plugin shows up under the configuration details (but not plug-in) details, nor is the perspective available. Eclipse Ganymede (3.4) hadoop plugin 0.17.1.
To follow up: Using v0.18.0 with Doug's patch from https://issues.apache.org/jira/browse/HADOOP-3884
Eclipse plugin also has some problem in Windows, see HADOOP-4310.
I've sent an email to Christophe Taton but got no reply so I'm posting here.
I'm attaching a diff of HadoopApplicationLaunchShortcut.java with 2 lines that need to be changed/added so that the plugin builds and works correctly for Eclipse 3.4 Ganymede. Applying HadoopApplicationLaunchShortcut.diff and rebuilding the plugin works well. I am using the plugin daily with Eclipse 3.4.
As of last week at Hadoop Summit '09, there are still many people under the impression that the Hadoop Eclipse plugin is broken. Is there any reason this fix hasn't been rolled into recent Hadoop releases and announced more publicly? I ran into the same problem with Eclipse 3.4 on Debian Linux 5.0 - I could browse DFS with the eclipse plugin from hadoop 0.19.2 but I couldn't run a Hadoop Job.
I checked out http://svn.apache.org/repos/asf/hadoop/common/tags/release-0.19.2/ ant -Declipse.home=/usr/local/eclipse clean package and copied the resulting plugin .jar file to /usr/local/eclipse/plugins. For some reason the MapReduce perspective was no longer available and I couldn't see any error from Eclipse. I figure maybe moving from one version of the plugin to another might have corrupted something in Eclipse? Anyways - since I was at it, I tried installing the latest Eclipse (3.5, Galileo) and rebuilt the plugin against this version. I then installed it as above and start Eclipse. This time the plugin works perfectly - I can both browse DFS and run a job against Hadoop. So, in conclusion, the patch works against Eclipse 3.5 (on Linux at least) also. +1 on including this in the release. Added 0.19.2 to list of affected versions
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I tried running the 0.17.1 plugin jar out of the box and on Eclipse 3.4 (on Linux), and the plugin is effectively recognized in my case and shows the Map/Reduce perspective correctly; however, as you point out, the "Run on Hadoop" shortcut fails silently in this configuration.
I have still not found out the origin of this problem.
Could you double check that 0.17.1 is not recognized at all on your install, as it is at least recognized on mine.
I'm actually cleaning and updating the plug-in, but I admit my thesis does not allow me to spend as much time as I would like to on this...
Cheers