Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 127059E79 for ; Fri, 7 Oct 2011 03:58:59 +0000 (UTC) Received: (qmail 32631 invoked by uid 500); 7 Oct 2011 03:58:58 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 32571 invoked by uid 500); 7 Oct 2011 03:58:56 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 31429 invoked by uid 99); 7 Oct 2011 03:58:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 03:58:53 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 03:58:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B83A22AD3F3 for ; Fri, 7 Oct 2011 03:58:29 +0000 (UTC) Date: Fri, 7 Oct 2011 03:58:29 +0000 (UTC) From: "Tim Broberg (Created) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <568037839.6572.1317959909755.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HADOOP-7726) eclipse plugin does not build with 0.20.205 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org eclipse plugin does not build with 0.20.205 ------------------------------------------- Key: HADOOP-7726 URL: https://issues.apache.org/jira/browse/HADOOP-7726 Project: Hadoop Common Issue Type: Bug Components: contrib/eclipse-plugin Affects Versions: 0.24.0 Environment: Fedora 15 Reporter: Tim Broberg I'm new to hadoop, java, and eclipse, so please forgive me if I jumble multiple issues together or mistake the symptoms of one problem for a separate issue. Attempting to follow the build instructions from http://wiki.apache.org/hadoop/EclipseEnvironment, the following commands are to be executed: 1 - mvn test -DskipTests 2 - mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true 3 - cd hdfs; ant compile eclipse 4 - cd ../; cd mapreduce; ant compile eclipse A - If "mvn test -DskipTests" is used for #1, #2 fails with "[ERROR] Failed to execute goal on project hadoop-yarn-common: Could not resolve dependencies for project org.apache.hadoop:hadoop-yarn-common:jar:0.24.0-SNAPSHOT:" Per Luke Lu's suggestion, "mvn install -DskipTests -P-cbuild" instead of step #1 cleared up this issue. B - For steps #3, and #4 there are no hdfs or mapreduce subdirectories. These appear to have been renamed "hadoop-hdfs-project" and "hadoop-mapreduce-project". C - For step #3, if I then go to hadoop-hdfs-project instead and perform "ant compile eclipse" no build.xml file is found - "Buildfile: build.xml does not exist!" D - For step #4, if I go to hadoop-mapreduce-project and do "ant compile eclipse" a set of errors much like #A is produced: > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:resolve] :: UNRESOLVED DEPENDENCIES :: > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:resolve] :: > org.apache.hadoop#hadoop-yarn-server-common;0.24.0-SNAPSHOT: not found > [ivy:resolve] :: > org.apache.hadoop#hadoop-mapreduce-client-core;0.24.0-SNAPSHOT: not found > [ivy:resolve] :: > org.apache.hadoop#hadoop-yarn-common;0.24.0-SNAPSHOT: not found > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: E - If I ignore these issues and import the projects generated in step #2, I get a bunch of errors related to the lack of an M2_REPO definition. Adding this variable needs to be included in the build scripts or documentation in the wiki. F - Once that is resolved, eclipse shows hundreds of errors and warnings starting with "AvroRecord" cannot be resolved to a type. Thanks so much for your work on this, but it needs a little more effort in documentation and/or development before it is usable again. Thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira