You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2014/11/14 23:26:35 UTC
[jira] [Updated] (HADOOP-9489) Eclipse instructions in BUILDING.txt
don't work
[ https://issues.apache.org/jira/browse/HADOOP-9489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth updated HADOOP-9489:
----------------------------------
Attachment: HADOOP-9489.2.patch
I just noticed that this ancient patch of mine never went in. :-) The old patch still applied with some warnings, but here is a rebase just to make it cleaner.
Is this patch still helpful? I'm not a regular Eclipse user, so I'm probably not the best judge.
> Eclipse instructions in BUILDING.txt don't work
> -----------------------------------------------
>
> Key: HADOOP-9489
> URL: https://issues.apache.org/jira/browse/HADOOP-9489
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 2.7.0
> Reporter: Carl Steinbach
> Assignee: Chris Nauroth
> Attachments: HADOOP-9489.1.patch, HADOOP-9489.2.patch, eclipse_hadoop_errors.txt
>
>
> I have tried several times to import Hadoop trunk into Eclipse following the instructions in the BUILDING.txt file, but so far have not been able to get it to work.
> If I use a fresh install of Eclipse 4.2.2, Eclipse will complain about an undefined M2_REPO environment variable. I discovered that this is defined automatically by the M2Eclipse plugin, and think that the BUILDING.txt doc should be updated to explain this.
> After installing M2Eclipse I tried importing the code again, and now get over 2500 errors related to missing class dependencies. Many of these errors correspond to missing classes in the oah*.proto namespace, which makes me think that 'mvn eclipse:eclipse' is not triggering protoc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)