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 compile plug-in for hadoop 2.8.0 #34

Open
Abouhassane opened this issue Apr 20, 2017 · 5 comments
Open

Cannot compile plug-in for hadoop 2.8.0 #34

Abouhassane opened this issue Apr 20, 2017 · 5 comments

Comments

@Abouhassane
Copy link

$ ant jar -Dversion=2.8.0 -Dhadoop.version=2.8.0 -Declipse.home=/opt/eclipse-neon/eclipse/ -Dhadoop.home=/hadoop

Buildfile: /home/hadoop/hadoop2x/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/hadoop/hadoop2x/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/hadoop/hadoop2x/ivy/ivysettings.xml

compile:
[echo] contrib: eclipse-plugin
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/build.xml:79: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 45 source files to /home/hadoop/hadoop2x/build/contrib/eclipse-plugin/classes
[javac] /home/hadoop/hadoop2x/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] /home/hadoop/hadoop2x/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] /home/hadoop/hadoop2x/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] /home/hadoop/hadoop2x/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] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java:62: error: cannot find symbol
[javac] public void stop(BundleContext context) throws Exception {
[javac] ^
[javac] symbol: class BundleContext
[javac] location: class Activator
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ErrorMessageDialog.java:21: error: package org.eclipse.jface.dialogs does not exist
[javac] import org.eclipse.jface.dialogs.MessageDialog;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ErrorMessageDialog.java:22: error: package org.eclipse.swt.widgets does not exist
[javac] import org.eclipse.swt.widgets.Display;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:21: error: package org.eclipse.debug.ui does not exist
[javac] import org.eclipse.debug.ui.IDebugUIConstants;
[javac] ^
[javac] /home/hadoop/hadoop2x/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/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:23: error: package org.eclipse.ui does not exist
[javac] import org.eclipse.ui.IFolderLayout;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:24: error: package org.eclipse.ui does not exist
[javac] import org.eclipse.ui.IPageLayout;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:25: error: package org.eclipse.ui does not exist
[javac] import org.eclipse.ui.IPerspectiveFactory;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:26: error: package org.eclipse.ui.console does not exist
[javac] import org.eclipse.ui.console.IConsoleConstants;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:34: error: cannot find symbol
[javac] public class HadoopPerspectiveFactory implements IPerspectiveFactory {
[javac] ^
[javac] symbol: class IPerspectiveFactory
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:36: error: cannot find symbol
[javac] public void createInitialLayout(IPageLayout layout) {
[javac] ^
[javac] symbol: class IPageLayout
[javac] location: class HadoopPerspectiveFactory
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:25: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.FileLocator;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:26: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.Path;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:27: error: package org.eclipse.jface.resource does not exist
[javac] import org.eclipse.jface.resource.ImageDescriptor;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:28: error: package org.eclipse.swt.graphics does not exist
[javac] import org.eclipse.swt.graphics.Image;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:29: error: package org.eclipse.ui does not exist
[javac] import org.eclipse.ui.ISharedImages;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:30: error: package org.eclipse.ui does not exist
[javac] import org.eclipse.ui.PlatformUI;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:31: error: package org.eclipse.ui.plugin does not exist
[javac] import org.eclipse.ui.plugin.AbstractUIPlugin;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:32: error: package org.osgi.framework does not exist
[javac] import org.osgi.framework.Bundle;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:39: error: cannot find symbol
[javac] private final Bundle bundle = Activator.getDefault().getBundle();
[javac] ^
[javac] symbol: class Bundle
[javac] location: class ImageLibrary
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:46: error: cannot find symbol
[javac] private ISharedImages sharedImages =
[javac] ^
[javac] symbol: class ISharedImages
[javac] location: class ImageLibrary
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:60: error: cannot find symbol
[javac] public static ImageDescriptor get(String name) {
[javac] ^
[javac] symbol: class ImageDescriptor
[javac] location: class ImageLibrary
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:70: error: cannot find symbol
[javac] public static Image getImage(String name) {
[javac] ^
[javac] symbol: class Image
[javac] location: class ImageLibrary
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:92: error: cannot find symbol
[javac] private Map<String, ImageDescriptor> descMap =
[javac] ^
[javac] symbol: class ImageDescriptor
[javac] location: class ImageLibrary
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:95: error: cannot find symbol
[javac] private Map<String, Image> imageMap = new HashMap<String, Image>();
[javac] ^
[javac] symbol: class Image
[javac] location: class ImageLibrary
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:144: error: cannot find symbol
[javac] private ImageDescriptor getImageDescriptorByName(String name) {
[javac] ^
[javac] symbol: class ImageDescriptor
[javac] location: class ImageLibrary
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:154: error: cannot find symbol
[javac] private Image getImageByName(String name) {
[javac] ^
[javac] symbol: class Image
[javac] location: class ImageLibrary
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ImageLibrary.java:164: error: cannot find symbol
[javac] private ImageDescriptor getSharedByName(String name) {
[javac] ^
[javac] symbol: class ImageDescriptor
[javac] location: class ImageLibrary
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:29: error: package org.eclipse.core.resources does not exist
[javac] import org.eclipse.core.resources.IProject;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:30: error: package org.eclipse.core.resources does not exist
[javac] import org.eclipse.core.resources.IProjectNature;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:31: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.CoreException;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:32: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.NullProgressMonitor;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:33: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.Path;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:34: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.QualifiedName;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:35: error: package org.eclipse.jdt.core does not exist
[javac] import org.eclipse.jdt.core.IClasspathEntry;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:36: error: package org.eclipse.jdt.core does not exist
[javac] import org.eclipse.jdt.core.IJavaProject;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:37: error: package org.eclipse.jdt.core does not exist
[javac] import org.eclipse.jdt.core.JavaCore;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:44: error: cannot find symbol
[javac] public class MapReduceNature implements IProjectNature {
[javac] ^
[javac] symbol: class IProjectNature
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:48: error: cannot find symbol
[javac] private IProject project;
[javac] ^
[javac] symbol: class IProject
[javac] location: class MapReduceNature
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:56: error: cannot find symbol
[javac] public void configure() throws CoreException {
[javac] ^
[javac] symbol: class CoreException
[javac] location: class MapReduceNature
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:130: error: cannot find symbol
[javac] public void deconfigure() throws CoreException {
[javac] ^
[javac] symbol: class CoreException
[javac] location: class MapReduceNature
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:137: error: cannot find symbol
[javac] public IProject getProject() {
[javac] ^
[javac] symbol: class IProject
[javac] location: class MapReduceNature
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/MapReduceNature.java:145: error: cannot find symbol
[javac] public void setProject(IProject project) {
[javac] ^
[javac] symbol: class IProject
[javac] location: class MapReduceNature
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:21: error: package org.eclipse.core.resources does not exist
[javac] import org.eclipse.core.resources.IFile;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:22: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.CoreException;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:23: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.IProgressMonitor;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:24: error: package org.eclipse.jdt.core does not exist
[javac] import org.eclipse.jdt.core.IJavaElement;
[javac] ^
[javac] /home/hadoop/hadoop2x/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/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:26: error: package org.eclipse.jface.operation does not exist
[javac] import org.eclipse.jface.operation.IRunnableWithProgress;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:27: error: package org.eclipse.jface.viewers does not exist
[javac] import org.eclipse.jface.viewers.IStructuredSelection;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:28: error: package org.eclipse.ui does not exist
[javac] import org.eclipse.ui.INewWizard;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:29: error: package org.eclipse.ui does not exist
[javac] import org.eclipse.ui.IWorkbench;
[javac] ^
[javac] /home/hadoop/hadoop2x/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/hadoop/hadoop2x/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 INewWizard
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:37: error: cannot find symbol
[javac] IRunnableWithProgress {
[javac] ^
[javac] symbol: class IRunnableWithProgress
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:23: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.CoreException;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:24: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.FileLocator;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:25: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.IProgressMonitor;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:26: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.IStatus;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:27: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.Path;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:28: error: package org.eclipse.jdt.core does not exist
[javac] import org.eclipse.jdt.core.IType;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:29: error: package org.eclipse.jdt.core does not exist
[javac] import org.eclipse.jdt.core.JavaModelException;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:30: error: package org.eclipse.jdt.core.search does not exist
[javac] import org.eclipse.jdt.core.search.SearchEngine;
[javac] ^
[javac] /home/hadoop/hadoop2x/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/hadoop/hadoop2x/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/hadoop/hadoop2x/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/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:34: error: package org.eclipse.jface.dialogs does not exist
[javac] import org.eclipse.jface.dialogs.ProgressMonitorDialog;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:35: error: package org.eclipse.jface.resource does not exist
[javac] import org.eclipse.jface.resource.ImageDescriptor;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:36: error: package org.eclipse.jface.viewers does not exist
[javac] import org.eclipse.jface.viewers.IStructuredSelection;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:37: error: package org.eclipse.jface.window does not exist
[javac] import org.eclipse.jface.window.Window;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:38: error: package org.eclipse.swt does not exist
[javac] import org.eclipse.swt.SWT;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:39: error: package org.eclipse.swt.layout does not exist
[javac] import org.eclipse.swt.layout.GridData;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:40: error: package org.eclipse.swt.layout does not exist
[javac] import org.eclipse.swt.layout.GridLayout;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:41: error: package org.eclipse.swt.widgets does not exist
[javac] import org.eclipse.swt.widgets.Button;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:42: error: package org.eclipse.swt.widgets does not exist
[javac] import org.eclipse.swt.widgets.Composite;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:43: error: package org.eclipse.swt.widgets does not exist
[javac] import org.eclipse.swt.widgets.Event;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:44: error: package org.eclipse.swt.widgets does not exist
[javac] import org.eclipse.swt.widgets.Label;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:45: error: package org.eclipse.swt.widgets does not exist
[javac] import org.eclipse.swt.widgets.Listener;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:46: error: package org.eclipse.swt.widgets does not exist
[javac] import org.eclipse.swt.widgets.Text;
[javac] ^
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:47: error: package org.eclipse.ui.dialogs does not exist
[javac] import org.eclipse.ui.dialogs.SelectionDialog;
[javac] ^
[javac] /home/hadoop/hadoop2x/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/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:43: error: cannot find symbol
[javac] public void run(IProgressMonitor monitor) {
[javac] ^
[javac] symbol: class IProgressMonitor
[javac] location: class NewDriverWizard
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:60: error: cannot find symbol
[javac] public void init(IWorkbench workbench, IStructuredSelection selection) {
[javac] ^
[javac] symbol: class IWorkbench
[javac] location: class NewDriverWizard
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:60: error: cannot find symbol
[javac] public void init(IWorkbench workbench, IStructuredSelection selection) {
[javac] ^
[javac] symbol: class IStructuredSelection
[javac] location: class NewDriverWizard
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:90: error: cannot find symbol
[javac] protected void finishPage(IProgressMonitor monitor)
[javac] ^
[javac] symbol: class IProgressMonitor
[javac] location: class NewDriverWizard
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:91: error: cannot find symbol
[javac] throws InterruptedException, CoreException {
[javac] ^
[javac] symbol: class CoreException
[javac] location: class NewDriverWizard
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:96: error: cannot find symbol
[javac] public IJavaElement getCreatedElement() {
[javac] ^
[javac] symbol: class IJavaElement
[javac] location: class NewDriverWizard
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:55: error: cannot find symbol
[javac] private Button isCreateMapMethod;
[javac] ^
[javac] symbol: class Button
[javac] location: class NewDriverWizardPage
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:57: error: cannot find symbol
[javac] private Text reducerText;
[javac] ^
[javac] symbol: class Text
[javac] location: class NewDriverWizardPage
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:59: error: cannot find symbol
[javac] private Text mapperText;
[javac] ^
[javac] symbol: class Text
[javac] location: class NewDriverWizardPage
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:76: error: cannot find symbol
[javac] public void setSelection(IStructuredSelection selection) {
[javac] ^
[javac] symbol: class IStructuredSelection
[javac] location: class NewDriverWizardPage
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:85: error: cannot find symbol
[javac] public void createType(IProgressMonitor monitor) throws CoreException,
[javac] ^
[javac] symbol: class IProgressMonitor
[javac] location: class NewDriverWizardPage
[javac] /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:85: error: cannot find symbol
[javac] public void createType(IProgressMonitor monitor) throws CoreException,
[javac] ^
[javac] symbol: class CoreException
[javac] location: class NewDriverWizardPage
[javac] /home/hadoop/hadoop2x/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 IType
[javac] location: class NewDriverWizardPage
[javac] /home/hadoop/hadoop2x/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/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:92: error: cannot find symbol
[javac] final IProgressMonitor monitor) throws CoreException {
[javac] ^
[javac] symbol: class IProgressMonitor
[javac] location: class NewDriverWizardPage
[javac] Note: /home/hadoop/hadoop2x/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/dfs/DFSFolder.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /home/hadoop/hadoop2x/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

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

@Abouhassane
Copy link
Author

After some cleaning I found that I'm missing these packages :

package org.eclipse.jface.dialogs
package org.eclipse.swt.widgets
package org.eclipse.debug.ui
package org.eclipse.jdt.ui
package org.eclipse.ui
package org.eclipse.ui.console
package org.eclipse.jface.resource
package org.eclipse.swt.graphics
package org.eclipse.ui.plugin
package org.osgi.framework
package org.eclipse.core.resources
package org.eclipse.core.runtime
package org.eclipse.jdt.internal.ui.wizards
package org.eclipse.jface.operation
package org.eclipse.jface.viewers
package org.eclipse.jdt.core
package org.eclipse.jdt.core.search
package org.eclipse.jdt.ui.wizards
package org.eclipse.jface.window
package org.eclipse.swt
package org.eclipse.swt.layout
package org.eclipse.ui.dialogs

@dashen-top1
Copy link

maybe these packaes are incompatible eclipse that you are using!

@Abouhassane
Copy link
Author

Yes indeed, i have no idea what the problem is :\ Maybe i'l try with another eclipse other than neon!

@Abouhassane
Copy link
Author

Abouhassane commented Apr 21, 2017

With Eclipse Mars the build was Successful and I was able to open the mapreduce perspective within eclipse;

@junsionzhang
Copy link

@Abouhassane how do you compile with oxygen version and hadoop2.8

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

3 participants