hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8848) hadoop-mapreduce-client-core fails compilation in Eclipse due to missing Avro-generated classes
Date Wed, 26 Sep 2012 07:06:07 GMT

    [ 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

Mime
View raw message