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 C8E4CDBB0 for ; Wed, 26 Sep 2012 07:06:12 +0000 (UTC) Received: (qmail 87753 invoked by uid 500); 26 Sep 2012 07:06:10 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 87604 invoked by uid 500); 26 Sep 2012 07:06:09 -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 87543 invoked by uid 99); 26 Sep 2012 07:06:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2012 07:06:07 +0000 Date: Wed, 26 Sep 2012 18:06:07 +1100 (NCT) From: "Chris Nauroth (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <2128141701.127219.1348643167669.JavaMail.jiratomcat@arcas> In-Reply-To: <496523254.127199.1348642808345.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HADOOP-8848) hadoop-mapreduce-client-core fails compilation in Eclipse due to missing Avro-generated classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463581#comment-13463581 ] Chris Nauroth commented on HADOOP-8848: --------------------------------------- The attached patch fixes the problem in the module's pom.xml by adding the Avro-generated source folder using build-helper-maven-plugin. Other modules have used a similar strategy. (See hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/pom.xml.) With this patch in place, it's possible to do a fresh import of all of hadoop-common trunk into Eclipse and see it compile successfully immediately. Note that this problem did not harm the typical Maven build. It was just a problem for fresh project imports into Eclipse. > hadoop-mapreduce-client-core fails compilation in Eclipse due to missing Avro-generated classes > ----------------------------------------------------------------------------------------------- > > Key: HADOOP-8848 > URL: https://issues.apache.org/jira/browse/HADOOP-8848 > Project: Hadoop Common > Issue Type: Improvement > Components: build > Affects Versions: 3.0.0 > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Attachments: HADOOP-8848.patch > > > After importing all of hadoop-common trunk into Eclipse with the m2e plugin, the Avro-generated classes in hadoop-mapreduce-client-core don't show up on Eclipse's classpath. This causes compilation errors for anything that depends on those classes. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira