Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Complie the plugin for hadoop 2.4.0 #15

Open
Riddle4045 opened this issue Nov 15, 2014 · 8 comments
Open

Cannot Complie the plugin for hadoop 2.4.0 #15

Riddle4045 opened this issue Nov 15, 2014 · 8 comments

Comments

@Riddle4045
Copy link

Hi ,

I am trying to build the ecplise pliugin for hadoop 2.4.0 , When I follow the steps mentioned in readme
I get the following compliation errors. Can you help me with this please.

compile:
[echo] contrib: eclipse-plugin
[javac] Compiling 45 source files to /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/build/contrib/eclipse-plugin/classes
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:22: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.JavaUI;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:25: error: package org.eclipse.jdt.internal.ui.wizards does not exist
[javac] import org.eclipse.jdt.internal.ui.wizards.NewElementWizard;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:36: error: cannot find symbol
[javac] public class NewDriverWizard extends NewElementWizard implements INewWizard,
[javac] ^
[javac] symbol: class NewElementWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:31: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.IJavaElementSearchConstants;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:32: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.JavaUI;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:33: error: package org.eclipse.jdt.ui.wizards does not exist
[javac] import org.eclipse.jdt.ui.wizards.NewTypeWizardPage;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:54: error: cannot find symbol
[javac] public class NewDriverWizardPage extends NewTypeWizardPage {
[javac] ^
[javac] symbol: class NewTypeWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:91: error: cannot find symbol
[javac] protected void createTypeMembers(final IType newType, ImportsManager imports,
[javac] ^
[javac] symbol: class ImportsManager
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapReduceProjectWizard.java:40: error: package org.eclipse.jdt.ui.wizards does not exist
[javac] import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapReduceProjectWizard.java:78: error: cannot find symbol
[javac] private NewJavaProjectWizardPage javaPage;
[javac] ^
[javac] symbol: class NewJavaProjectWizardPage
[javac] location: class NewMapReduceProjectWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:32: error: package org.eclipse.jdt.internal.ui.wizards does not exist
[javac] import org.eclipse.jdt.internal.ui.wizards.NewElementWizard;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:33: error: package org.eclipse.jdt.ui.wizards does not exist
[javac] import org.eclipse.jdt.ui.wizards.NewTypeWizardPage;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:50: error: cannot find symbol
[javac] public class NewMapperWizard extends NewElementWizard implements INewWizard,
[javac] ^
[javac] symbol: class NewElementWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:79: error: cannot find symbol
[javac] public static class Page extends NewTypeWizardPage {
[javac] ^
[javac] symbol: class NewTypeWizardPage
[javac] location: class NewMapperWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:102: error: cannot find symbol
[javac] protected void createTypeMembers(IType newType, ImportsManager imports,
[javac] ^
[javac] symbol: class ImportsManager
[javac] location: class Page
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:32: error: package org.eclipse.jdt.internal.ui.wizards does not exist
[javac] import org.eclipse.jdt.internal.ui.wizards.NewElementWizard;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:33: error: package org.eclipse.jdt.ui.wizards does not exist
[javac] import org.eclipse.jdt.ui.wizards.NewTypeWizardPage;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:49: error: cannot find symbol
[javac] public class NewReducerWizard extends NewElementWizard implements
[javac] ^
[javac] symbol: class NewElementWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:78: error: cannot find symbol
[javac] public static class Page extends NewTypeWizardPage {
[javac] ^
[javac] symbol: class NewTypeWizardPage
[javac] location: class NewReducerWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:99: error: cannot find symbol
[javac] protected void createTypeMembers(IType newType, ImportsManager imports,
[javac] ^
[javac] symbol: class ImportsManager
[javac] location: class Page
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/server/JarModule.java:32: error: package org.eclipse.jdt.ui.jarpackager does not exist
[javac] import org.eclipse.jdt.ui.jarpackager.IJarExportRunnable;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/server/JarModule.java:33: error: package org.eclipse.jdt.ui.jarpackager does not exist
[javac] import org.eclipse.jdt.ui.jarpackager.JarPackageData;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:35: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaApplicationLaunchShortcut;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:36: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:37: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.IRuntimeClasspathEntry;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:38: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.JavaRuntime;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:49: error: cannot find symbol
[javac] JavaApplicationLaunchShortcut {
[javac] ^
[javac] symbol: class JavaApplicationLaunchShortcut
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:33: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:34: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:35: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:36: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.IJavaElementSearchConstants;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:37: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.JavaUI;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/StartHadoopLaunchTabGroup.java:25: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/StartHadoopLaunchTabGroup.java:26: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/StartHadoopLaunchTabGroup.java:27: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java:39: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java:40: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.IRuntimeClasspathEntry;
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java:41: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.JavaRuntime;
[javac] ^
[javac] /usr/local/hadoop/share/hadoop/common/hadoop-common-2.4.0.jar(org/apache/hadoop/fs/Path.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate': class file for org.apache.hadoop.classification.InterfaceAudience not found
[javac] /usr/local/hadoop/share/hadoop/hdfs/hadoop-hdfs-2.4.0.jar(org/apache/hadoop/hdfs/DistributedFileSystem.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /usr/local/hadoop/share/hadoop/common/hadoop-common-2.4.0.jar(org/apache/hadoop/fs/FileSystem.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /usr/local/hadoop/share/hadoop/common/hadoop-common-2.4.0.jar(org/apache/hadoop/fs/FileSystem.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /usr/local/hadoop/share/hadoop/common/hadoop-common-2.4.0.jar(org/apache/hadoop/fs/FileSystem.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:52: error: cannot find symbol
[javac] bottom.addView(JavaUI.ID_JAVADOC_VIEW);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:54: error: cannot find symbol
[javac] bottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:67: error: cannot find symbol
[javac] layout.addActionSet(JavaUI.ID_ACTION_SET);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:68: error: cannot find symbol
[javac] layout.addActionSet(JavaUI.ID_CODING_ACTION_SET);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:69: error: cannot find symbol
[javac] layout.addActionSet(JavaUI.ID_ELEMENT_CREATION_ACTION_SET);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:71: error: cannot find symbol
[javac] layout.addActionSet(JavaUI.ID_SEARCH_ACTION_SET);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:36: error: NewDriverWizard is not abstract and does not override abstract method setContainer(IWizardContainer) in IWizard
[javac] public class NewDriverWizard extends NewElementWizard implements INewWizard,
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:56: error: cannot find symbol
[javac] setWindowTitle("New MapReduce Driver");
[javac] ^
[javac] symbol: method setWindowTitle(String)
[javac] location: class NewDriverWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:61: error: cannot find symbol
[javac] super.init(workbench, selection);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:64: error: cannot find symbol
[javac] addPage(page);
[javac] ^
[javac] symbol: method addPage(NewDriverWizardPage)
[javac] location: class NewDriverWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:74: error: cannot find symbol
[javac] if (super.performFinish()) {
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:76: error: cannot find symbol
[javac] selectAndReveal(page.getModifiedResource());
[javac] ^
[javac] symbol: method getModifiedResource()
[javac] location: variable page of type NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:77: error: cannot find symbol
[javac] openResource((IFile) page.getModifiedResource());
[javac] ^
[javac] symbol: method getModifiedResource()
[javac] location: variable page of type NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:77: error: cannot find symbol
[javac] openResource((IFile) page.getModifiedResource());
[javac] ^
[javac] symbol: method openResource(IFile)
[javac] location: class NewDriverWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:86: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:97: error: cannot find symbol
[javac] return page.getCreatedType().getPrimaryElement();
[javac] ^
[javac] symbol: method getCreatedType()
[javac] location: variable page of type NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:95: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:71: error: cannot find symbol
[javac] setTitle("MapReduce Driver");
[javac] ^
[javac] symbol: method setTitle(String)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:72: error: cannot find symbol
[javac] setDescription("Create a new MapReduce driver.");
[javac] ^
[javac] symbol: method setDescription(String)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:73: error: cannot find symbol
[javac] setImageDescriptor(ImageLibrary.get("wizard.driver.new"));
[javac] ^
[javac] symbol: method setImageDescriptor(ImageDescriptor)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:77: error: cannot find symbol
[javac] initContainerPage(getInitialJavaElement(selection));
[javac] ^
[javac] symbol: method getInitialJavaElement(IStructuredSelection)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:78: error: cannot find symbol
[javac] initTypePage(getInitialJavaElement(selection));
[javac] ^
[javac] symbol: method getInitialJavaElement(IStructuredSelection)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:87: error: cannot find symbol
[javac] super.createType(monitor);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:81: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:93: error: cannot find symbol
[javac] super.createTypeMembers(newType, imports, monitor);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:106: error: cannot find symbol
[javac] getContainer().getShell().getDisplay().syncExec(new Runnable() {
[javac] ^
[javac] symbol: method getContainer()
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:90: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:148: error: cannot find symbol
[javac] initializeDialogUnits(parent);
[javac] ^
[javac] symbol: method initializeDialogUnits(Composite)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:154: error: cannot find symbol
[javac] createContainerControls(composite, 4);
[javac] ^
[javac] symbol: method createContainerControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:156: error: cannot find symbol
[javac] createPackageControls(composite, 4);
[javac] ^
[javac] symbol: method createPackageControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:157: error: cannot find symbol
[javac] createSeparator(composite, 4);
[javac] ^
[javac] symbol: method createSeparator(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:158: error: cannot find symbol
[javac] createTypeNameControls(composite, 4);
[javac] ^
[javac] symbol: method createTypeNameControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:160: error: cannot find symbol
[javac] createSuperClassControls(composite, 4);
[javac] ^
[javac] symbol: method createSuperClassControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:161: error: cannot find symbol
[javac] createSuperInterfacesControls(composite, 4);
[javac] ^
[javac] symbol: method createSuperInterfacesControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:162: error: cannot find symbol
[javac] createSeparator(composite, 4);
[javac] ^
[javac] symbol: method createSeparator(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:168: error: cannot find symbol
[javac] setPackageFragmentRoot(null, false);
[javac] ^
[javac] symbol: method setPackageFragmentRoot(,boolean)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:169: error: cannot find symbol
[javac] setSuperClass("java.lang.Object", false);
[javac] ^
[javac] symbol: method setSuperClass(String,boolean)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:170: error: cannot find symbol
[javac] setSuperInterfaces(new ArrayList(), false);
[javac] ^
[javac] symbol: method setSuperInterfaces(ArrayList,boolean)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:173: error: cannot find symbol
[javac] setControl(composite);
[javac] ^
[javac] symbol: method setControl(Composite)
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:175: error: cannot find symbol
[javac] setFocus();
[javac] ^
[javac] symbol: method setFocus()
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:176: error: cannot find symbol
[javac] handleFieldChanged(CONTAINER);
[javac] ^
[javac] symbol: variable CONTAINER
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:185: error: cannot find symbol
[javac] super.handleFieldChanged(fieldName);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:183: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:192: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fContainerStatus, fPackageStatus,
[javac] ^
[javac] symbol: variable fContainerStatus
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:192: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fContainerStatus, fPackageStatus,
[javac] ^
[javac] symbol: variable fPackageStatus
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:193: error: cannot find symbol
[javac] fTypeNameStatus, fSuperClassStatus, fSuperInterfacesStatus });
[javac] ^
[javac] symbol: variable fTypeNameStatus
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:193: error: cannot find symbol
[javac] fTypeNameStatus, fSuperClassStatus, fSuperInterfacesStatus });
[javac] ^
[javac] symbol: variable fSuperClassStatus
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:193: error: cannot find symbol
[javac] fTypeNameStatus, fSuperClassStatus, fSuperInterfacesStatus });
[javac] ^
[javac] symbol: variable fSuperInterfacesStatus
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:192: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fContainerStatus, fPackageStatus,
[javac] ^
[javac] symbol: method updateStatus(IStatus[])
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:195: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fTypeNameStatus, });
[javac] ^
[javac] symbol: variable fTypeNameStatus
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:195: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fTypeNameStatus, });
[javac] ^
[javac] symbol: method updateStatus(IStatus[])
[javac] location: class NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:230: error: cannot find symbol
[javac] baseType = getPackageFragmentRoot().getJavaProject().findType(
[javac] ^
[javac] symbol: method getPackageFragmentRoot()
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:237: error: cannot find symbol
[javac] IJavaElementSearchConstants.CONSIDER_CLASSES, false);
[javac] ^
[javac] symbol: variable IJavaElementSearchConstants
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:234: error: cannot find symbol
[javac] SelectionDialog dialog = JavaUI.createTypeDialog(
[javac] ^
[javac] symbol: variable JavaUI
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapReduceProjectWizard.java:112: error: bad operand types for binary operator '=='
[javac] if (answer == newDriverPage) {
[javac] ^
[javac] first type: IWizardPage
[javac] second type: NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapReduceProjectWizard.java:125: error: bad operand types for binary operator '=='
[javac] if (page == newDriverPage) {
[javac] ^
[javac] first type: IWizardPage
[javac] second type: NewDriverWizardPage
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapReduceProjectWizard.java:327: error: cannot find symbol
[javac] new NewJavaProjectWizardPage(ResourcesPlugin.getWorkspace()
[javac] ^
[javac] symbol: class NewJavaProjectWizardPage
[javac] location: class NewMapReduceProjectWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:50: error: NewMapperWizard is not abstract and does not override abstract method setContainer(IWizardContainer) in IWizard
[javac] public class NewMapperWizard extends NewElementWizard implements INewWizard,
[javac] ^
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:55: error: cannot find symbol
[javac] setWindowTitle("New Mapper");
[javac] ^
[javac] symbol: method setWindowTitle(String)
[javac] location: class NewMapperWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:72: error: cannot find symbol
[javac] super.init(workbench, selection);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewMapperWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:75: error: cannot find symbol
[javac] addPage(page);
[javac] ^
[javac] symbol: method addPage(Page)
[javac] location: class NewMapperWizard
[javac] /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:85: error: cannot find symbol
[javac] setTitle("Mapper");
[javac] ^
[javac] symbol: method setTitle(String)
[javac] location: class Page
[javac] /usr/local/hadoop/share/hadoop/common/hadoop-common-2.4.0.jar(org/apache/hadoop/fs/FSDataInputStream.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /usr/local/hadoop/share/hadoop/common/hadoop-common-2.4.0.jar(org/apache/hadoop/fs/FSDataOutputStream.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /home/hduser/Documents/Softwares/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/actions/DFSActionImpl.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 100 errors
[javac] 7 warnings

@winghc
Copy link
Owner

winghc commented Nov 16, 2014

You need tell ant where is your eclipse library? That is why "-Declipse.home=/opt/eclipse" means

@Riddle4045
Copy link
Author

Hi Winghc,

thanks for reply, My eclipse home is /usr/lib/eclipse and not /opt/eclipse . and I did mention it in the command ..

@pratik1sharma-dev
Copy link

@Riddle4045 Hi
i am trying to build the hadoop plugin for 2.2.0 and getting almost same error as you.Did you got the solution of the problem..??

@darwinlee
Copy link

which error did you mean by?

------------------ 原始邮件 ------------------
发件人: "pratik1sharmayahoo";[email protected];
发送时间: 2015年1月19日(星期一) 下午2:48
收件人: "winghc/hadoop2x-eclipse-plugin"[email protected];

主题: Re: [hadoop2x-eclipse-plugin] Cannot Complie the plugin for hadoop2.4.0 (#15)

@Riddle4045 Hi
i am trying to build the hadoop plugin for 2.2.0 and getting almost same error as you.Did you got the solution of the problem..??


Reply to this email directly or view it on GitHub.

@pratik1sharma-dev
Copy link

ant jar -Dversion=2.2.0 -Declipse.home=/usr/lib/eclipse/ -Dhadoop.home=/usr/local/hadoop-2.2.0/
Buildfile: /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/build.xml

check-contrib:

init:
[echo] contrib: eclipse-plugin

init-contrib:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/ivy/ivysettings.xml

ivy-resolve-common:

ivy-retrieve-common:
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/ivy/ivysettings.xml

compile:
[echo] contrib: eclipse-plugin
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/build.xml:76: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 45 source files to /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/build/contrib/eclipse-plugin/classes
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:22: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.JavaUI;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:25: error: package org.eclipse.jdt.internal.ui.wizards does not exist
[javac] import org.eclipse.jdt.internal.ui.wizards.NewElementWizard;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:36: error: cannot find symbol
[javac] public class NewDriverWizard extends NewElementWizard implements INewWizard,
[javac] ^
[javac] symbol: class NewElementWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:31: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.IJavaElementSearchConstants;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:32: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.JavaUI;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:33: error: package org.eclipse.jdt.ui.wizards does not exist
[javac] import org.eclipse.jdt.ui.wizards.NewTypeWizardPage;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:54: error: cannot find symbol
[javac] public class NewDriverWizardPage extends NewTypeWizardPage {
[javac] ^
[javac] symbol: class NewTypeWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:91: error: cannot find symbol
[javac] protected void createTypeMembers(final IType newType, ImportsManager imports,
[javac] ^
[javac] symbol: class ImportsManager
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapReduceProjectWizard.java:40: error: package org.eclipse.jdt.ui.wizards does not exist
[javac] import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapReduceProjectWizard.java:78: error: cannot find symbol
[javac] private NewJavaProjectWizardPage javaPage;
[javac] ^
[javac] symbol: class NewJavaProjectWizardPage
[javac] location: class NewMapReduceProjectWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:32: error: package org.eclipse.jdt.internal.ui.wizards does not exist
[javac] import org.eclipse.jdt.internal.ui.wizards.NewElementWizard;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:33: error: package org.eclipse.jdt.ui.wizards does not exist
[javac] import org.eclipse.jdt.ui.wizards.NewTypeWizardPage;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:50: error: cannot find symbol
[javac] public class NewMapperWizard extends NewElementWizard implements INewWizard,
[javac] ^
[javac] symbol: class NewElementWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:79: error: cannot find symbol
[javac] public static class Page extends NewTypeWizardPage {
[javac] ^
[javac] symbol: class NewTypeWizardPage
[javac] location: class NewMapperWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:102: error: cannot find symbol
[javac] protected void createTypeMembers(IType newType, ImportsManager imports,
[javac] ^
[javac] symbol: class ImportsManager
[javac] location: class Page
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:32: error: package org.eclipse.jdt.internal.ui.wizards does not exist
[javac] import org.eclipse.jdt.internal.ui.wizards.NewElementWizard;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:33: error: package org.eclipse.jdt.ui.wizards does not exist
[javac] import org.eclipse.jdt.ui.wizards.NewTypeWizardPage;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:49: error: cannot find symbol
[javac] public class NewReducerWizard extends NewElementWizard implements
[javac] ^
[javac] symbol: class NewElementWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:78: error: cannot find symbol
[javac] public static class Page extends NewTypeWizardPage {
[javac] ^
[javac] symbol: class NewTypeWizardPage
[javac] location: class NewReducerWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:99: error: cannot find symbol
[javac] protected void createTypeMembers(IType newType, ImportsManager imports,
[javac] ^
[javac] symbol: class ImportsManager
[javac] location: class Page
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/server/JarModule.java:32: error: package org.eclipse.jdt.ui.jarpackager does not exist
[javac] import org.eclipse.jdt.ui.jarpackager.IJarExportRunnable;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/server/JarModule.java:33: error: package org.eclipse.jdt.ui.jarpackager does not exist
[javac] import org.eclipse.jdt.ui.jarpackager.JarPackageData;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:35: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaApplicationLaunchShortcut;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:36: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:37: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.IRuntimeClasspathEntry;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:38: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.JavaRuntime;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:49: error: cannot find symbol
[javac] JavaApplicationLaunchShortcut {
[javac] ^
[javac] symbol: class JavaApplicationLaunchShortcut
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:33: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:34: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:35: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:36: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.IJavaElementSearchConstants;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:37: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.JavaUI;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/StartHadoopLaunchTabGroup.java:25: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/StartHadoopLaunchTabGroup.java:26: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/StartHadoopLaunchTabGroup.java:27: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java:39: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java:40: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.IRuntimeClasspathEntry;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java:41: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.JavaRuntime;
[javac] ^
[javac] /usr/local/hadoop-2.2.0/share/hadoop/common/hadoop-common-2.2.0.jar(org/apache/hadoop/fs/Path.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate': class file for org.apache.hadoop.classification.InterfaceAudience not found
[javac] /usr/local/hadoop-2.2.0/share/hadoop/hdfs/hadoop-hdfs-2.2.0.jar(org/apache/hadoop/hdfs/DistributedFileSystem.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /usr/local/hadoop-2.2.0/share/hadoop/common/hadoop-common-2.2.0.jar(org/apache/hadoop/fs/FileSystem.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /usr/local/hadoop-2.2.0/share/hadoop/common/hadoop-common-2.2.0.jar(org/apache/hadoop/fs/FileSystem.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /usr/local/hadoop-2.2.0/share/hadoop/common/hadoop-common-2.2.0.jar(org/apache/hadoop/fs/FileSystem.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:52: error: cannot find symbol
[javac] bottom.addView(JavaUI.ID_JAVADOC_VIEW);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:54: error: cannot find symbol
[javac] bottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:67: error: cannot find symbol
[javac] layout.addActionSet(JavaUI.ID_ACTION_SET);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:68: error: cannot find symbol
[javac] layout.addActionSet(JavaUI.ID_CODING_ACTION_SET);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:69: error: cannot find symbol
[javac] layout.addActionSet(JavaUI.ID_ELEMENT_CREATION_ACTION_SET);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:71: error: cannot find symbol
[javac] layout.addActionSet(JavaUI.ID_SEARCH_ACTION_SET);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:36: error: NewDriverWizard is not abstract and does not override abstract method setContainer(IWizardContainer) in IWizard
[javac] public class NewDriverWizard extends NewElementWizard implements INewWizard,
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:56: error: cannot find symbol
[javac] setWindowTitle("New MapReduce Driver");
[javac] ^
[javac] symbol: method setWindowTitle(String)
[javac] location: class NewDriverWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:61: error: cannot find symbol
[javac] super.init(workbench, selection);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:64: error: cannot find symbol
[javac] addPage(page);
[javac] ^
[javac] symbol: method addPage(NewDriverWizardPage)
[javac] location: class NewDriverWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:74: error: cannot find symbol
[javac] if (super.performFinish()) {
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:76: error: cannot find symbol
[javac] selectAndReveal(page.getModifiedResource());
[javac] ^
[javac] symbol: method getModifiedResource()
[javac] location: variable page of type NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:77: error: cannot find symbol
[javac] openResource((IFile) page.getModifiedResource());
[javac] ^
[javac] symbol: method getModifiedResource()
[javac] location: variable page of type NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:77: error: cannot find symbol
[javac] openResource((IFile) page.getModifiedResource());
[javac] ^
[javac] symbol: method openResource(IFile)
[javac] location: class NewDriverWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:86: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:95: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:97: error: cannot find symbol
[javac] return page.getCreatedType().getPrimaryElement();
[javac] ^
[javac] symbol: method getCreatedType()
[javac] location: variable page of type NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:71: error: cannot find symbol
[javac] setTitle("MapReduce Driver");
[javac] ^
[javac] symbol: method setTitle(String)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:72: error: cannot find symbol
[javac] setDescription("Create a new MapReduce driver.");
[javac] ^
[javac] symbol: method setDescription(String)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:73: error: cannot find symbol
[javac] setImageDescriptor(ImageLibrary.get("wizard.driver.new"));
[javac] ^
[javac] symbol: method setImageDescriptor(ImageDescriptor)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:77: error: cannot find symbol
[javac] initContainerPage(getInitialJavaElement(selection));
[javac] ^
[javac] symbol: method getInitialJavaElement(IStructuredSelection)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:78: error: cannot find symbol
[javac] initTypePage(getInitialJavaElement(selection));
[javac] ^
[javac] symbol: method getInitialJavaElement(IStructuredSelection)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:81: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:87: error: cannot find symbol
[javac] super.createType(monitor);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:90: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:93: error: cannot find symbol
[javac] super.createTypeMembers(newType, imports, monitor);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:106: error: cannot find symbol
[javac] getContainer().getShell().getDisplay().syncExec(new Runnable() {
[javac] ^
[javac] symbol: method getContainer()
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:148: error: cannot find symbol
[javac] initializeDialogUnits(parent);
[javac] ^
[javac] symbol: method initializeDialogUnits(Composite)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:154: error: cannot find symbol
[javac] createContainerControls(composite, 4);
[javac] ^
[javac] symbol: method createContainerControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:156: error: cannot find symbol
[javac] createPackageControls(composite, 4);
[javac] ^
[javac] symbol: method createPackageControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:157: error: cannot find symbol
[javac] createSeparator(composite, 4);
[javac] ^
[javac] symbol: method createSeparator(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:158: error: cannot find symbol
[javac] createTypeNameControls(composite, 4);
[javac] ^
[javac] symbol: method createTypeNameControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:160: error: cannot find symbol
[javac] createSuperClassControls(composite, 4);
[javac] ^
[javac] symbol: method createSuperClassControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:161: error: cannot find symbol
[javac] createSuperInterfacesControls(composite, 4);
[javac] ^
[javac] symbol: method createSuperInterfacesControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:162: error: cannot find symbol
[javac] createSeparator(composite, 4);
[javac] ^
[javac] symbol: method createSeparator(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:168: error: cannot find symbol
[javac] setPackageFragmentRoot(null, false);
[javac] ^
[javac] symbol: method setPackageFragmentRoot(,boolean)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:169: error: cannot find symbol
[javac] setSuperClass("java.lang.Object", false);
[javac] ^
[javac] symbol: method setSuperClass(String,boolean)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:170: error: cannot find symbol
[javac] setSuperInterfaces(new ArrayList(), false);
[javac] ^
[javac] symbol: method setSuperInterfaces(ArrayList,boolean)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:173: error: cannot find symbol
[javac] setControl(composite);
[javac] ^
[javac] symbol: method setControl(Composite)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:175: error: cannot find symbol
[javac] setFocus();
[javac] ^
[javac] symbol: method setFocus()
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:176: error: cannot find symbol
[javac] handleFieldChanged(CONTAINER);
[javac] ^
[javac] symbol: variable CONTAINER
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:183: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:185: error: cannot find symbol
[javac] super.handleFieldChanged(fieldName);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:192: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fContainerStatus, fPackageStatus,
[javac] ^
[javac] symbol: variable fContainerStatus
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:192: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fContainerStatus, fPackageStatus,
[javac] ^
[javac] symbol: variable fPackageStatus
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:193: error: cannot find symbol
[javac] fTypeNameStatus, fSuperClassStatus, fSuperInterfacesStatus });
[javac] ^
[javac] symbol: variable fTypeNameStatus
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:193: error: cannot find symbol
[javac] fTypeNameStatus, fSuperClassStatus, fSuperInterfacesStatus });
[javac] ^
[javac] symbol: variable fSuperClassStatus
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:193: error: cannot find symbol
[javac] fTypeNameStatus, fSuperClassStatus, fSuperInterfacesStatus });
[javac] ^
[javac] symbol: variable fSuperInterfacesStatus
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:192: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fContainerStatus, fPackageStatus,
[javac] ^
[javac] symbol: method updateStatus(IStatus[])
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:195: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fTypeNameStatus, });
[javac] ^
[javac] symbol: variable fTypeNameStatus
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:195: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fTypeNameStatus, });
[javac] ^
[javac] symbol: method updateStatus(IStatus[])
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:230: error: cannot find symbol
[javac] baseType = getPackageFragmentRoot().getJavaProject().findType(
[javac] ^
[javac] symbol: method getPackageFragmentRoot()
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:237: error: cannot find symbol
[javac] IJavaElementSearchConstants.CONSIDER_CLASSES, false);
[javac] ^
[javac] symbol: variable IJavaElementSearchConstants
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:234: error: cannot find symbol
[javac] SelectionDialog dialog = JavaUI.createTypeDialog(
[javac] ^
[javac] symbol: variable JavaUI
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapReduceProjectWizard.java:327: error: cannot find symbol
[javac] new NewJavaProjectWizardPage(ResourcesPlugin.getWorkspace()
[javac] ^
[javac] symbol: class NewJavaProjectWizardPage
[javac] location: class NewMapReduceProjectWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:50: error: NewMapperWizard is not abstract and does not override abstract method setContainer(IWizardContainer) in IWizard
[javac] public class NewMapperWizard extends NewElementWizard implements INewWizard,
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:55: error: cannot find symbol
[javac] setWindowTitle("New Mapper");
[javac] ^
[javac] symbol: method setWindowTitle(String)
[javac] location: class NewMapperWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:72: error: cannot find symbol
[javac] super.init(workbench, selection);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewMapperWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:75: error: cannot find symbol
[javac] addPage(page);
[javac] ^
[javac] symbol: method addPage(Page)
[javac] location: class NewMapperWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:85: error: cannot find symbol
[javac] setTitle("Mapper");
[javac] ^
[javac] symbol: method setTitle(String)
[javac] location: class Page
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:86: error: cannot find symbol
[javac] setDescription("Create a new Mapper implementation.");
[javac] ^
[javac] symbol: method setDescription(String)
[javac] location: class Page
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:87: error: cannot find symbol
[javac] setImageDescriptor(ImageLibrary.get("wizard.mapper.new"));
[javac] ^
[javac] symbol: method setImageDescriptor(ImageDescriptor)
[javac] location: class Page
[javac] /usr/local/hadoop-2.2.0/share/hadoop/common/hadoop-common-2.2.0.jar(org/apache/hadoop/fs/FSDataInputStream.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /usr/local/hadoop-2.2.0/share/hadoop/common/hadoop-common-2.2.0.jar(org/apache/hadoop/fs/FSDataOutputStream.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/actions/DFSActionImpl.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 100 errors
[javac] 7 warnings

BUILD FAILED
/home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/build.xml:76: Compile failed; see the compiler error output for details.

@mmm0469
Copy link

mmm0469 commented Nov 29, 2015

Hi.. I'm also facing the same issue : BUILD FAILED with 100 errors. Hadoop version is 2.6.0. Ubuntu 15.10. Please let us know, if you have found the solution.

$ sudo ant jar -Dversion=2.6.0 -Declipse.home=/usr/share/eclipse/ -Dhadoop.home=/usr/local/hadoop/hadoop-2.6.0/
Buildfile: /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/build.xml

check-contrib:

init:
[echo] contrib: eclipse-plugin

init-contrib:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = /usr/local/hadoop/hadoop2x-eclipse-plugin-master/ivy/ivysettings.xml

ivy-resolve-common:

ivy-retrieve-common:
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /usr/local/hadoop/hadoop2x-eclipse-plugin-master/ivy/ivysettings.xml

compile:
[echo] contrib: eclipse-plugin
[javac] /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/build.xml:76: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 45 source files to /usr/local/hadoop/hadoop2x-eclipse-plugin-master/build/contrib/eclipse-plugin/classes
[javac] /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java:22: error: package org.eclipse.ui.plugin does not exist
[javac] import org.eclipse.ui.plugin.AbstractUIPlugin;
[javac] ^
[javac] /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java:23: error: package org.osgi.framework does not exist
[javac] import org.osgi.framework.BundleContext;
[javac] ^
[javac] /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java:28: error: cannot find symbol
[javac] public class Activator extends AbstractUIPlugin {
[javac] ^
[javac] symbol: class AbstractUIPlugin
[javac] /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java:56: error: cannot find symbol
[javac] public void start(BundleContext context) throws Exception {
[javac] ^
[javac] symbol: class BundleContext
[javac] location: class Activator
[javac] /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java:62: error: cannot find symbol
....

@happtim
Copy link

happtim commented Aug 18, 2016

i used eclipse installer install eclipse.

@kumaravelkandhan
Copy link

Im also getting same exceptions @Riddle4045.. Could you tell, how you configured the eclipse path.
-Declipse.home=/usr/lib/eclipse/. may i know from where you configured /usr/lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants