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 "Carl Steinbach (JIRA)" <ji...@apache.org> on 2013/04/20 09:53:15 UTC

[jira] [Created] (HADOOP-9489) Eclipse instructions in BUILDING.txt don't work

Carl Steinbach created HADOOP-9489:
--------------------------------------

             Summary: 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
            Reporter: Carl Steinbach
         Attachments: 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 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