[
https://issues.apache.org/jira/browse/MAPREDUCE-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905714#action_12905714
]
Eli Collins commented on MAPREDUCE-1280:
----------------------------------------
Project -> Build Project in eclipse compiles the eclipse plugin. Verified this
on galileo, I also checked helios and that compiles as well. The issue is that
the eclipse plugin uses classes that were deprecated in 3.1, and were removed I
think in 3.4 so you'll get the following:
{code}
compile:
[echo] contrib: eclipse-plugin
[javac] Compiling 45 source files to
/home/eli/src/cloudera/hadoop1/build/contrib/eclipse-plugin/classes
[javac]
/home/eli/src/cloudera/hadoop1/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:35:
cannot find symbol
[javac] symbol : class JavaApplicationLaunchShortcut
[javac] location: package org.eclipse.jdt.internal.debug.ui.launcher
[javac] import
org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLaunchShortcut;
[javac] ^
[javac]
/home/eli/src/cloudera/hadoop1/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:49:
cannot find symbol
[javac] symbol: class JavaApplicationLaunchShortcut
[javac] JavaApplicationLaunchShortcut {
[javac] ^
[javac]
/home/eli/src/cloudera/hadoop1/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:66:
cannot find symbol
[javac] symbol : variable super
[javac] location: class
org.apache.hadoop.eclipse.launch.HadoopApplicationLaunchShortcut
[javac] super.findLaunchConfiguration(type, configType);
[javac] ^
[javac]
/home/eli/src/cloudera/hadoop1/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:60:
method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 4 errors
{code}
> Eclipse Plugin does not work with Eclipse Ganymede (3.4)
> --------------------------------------------------------
>
> Key: MAPREDUCE-1280
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1280
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 0.20.1, 0.21.1, 0.22.0
> Environment: Windows XP with Eclipse "Ganymede" 3.4
> Reporter: Aaron Kimball
> Assignee: Alex Kozlov
> Fix For: 0.20.3, 0.21.1, 0.22.0
>
> Attachments: alex-HADOOP-3744.patch, HADOOP-3744.patch,
> HadoopApplicationLaunchShortcut.diff
>
>
> The newest version of Eclipse seems incompatible with the plugin. The plugin
> as released in 0.16.4 will allow you to add/remove MapReduce servers, and
> will allow you to browse/manipulate the DFS in the DFS Browser, but will not
> allow you to run programs. Clicking "Run As * Run On Hadoop" will simply not
> cause the run-on-hadoop server selection window to appear. No error message
> is given.
> Dropping the 0.17.1 copy of the plugin JAR into the eclipse/plugins/
> directory does not fix the issue; it is in fact worse: Eclipse does not seem
> to regard the 0.17 plugin as real. No "MapReduce Perspective" is made
> available in the perspectives selection window.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.