Sathwik 

 

I experienced something similar a few weeks ago.

I reported a JIRA on the documentation of this, please comment there

 

https://issues.apache.org/jira/browse/HADOOP-9771

 

Regards

./g

 

 

From: Sathwik B P [mailto:sath...@apache.org] 
Sent: Tuesday, August 06, 2013 4:46 AM
To: user@hadoop.apache.org
Subject: Compilation problem of Hadoop Projects after Import into Eclipse

 

Hi guys,

I see a couple of problem with the generation of eclipse artifacts mvn
eclipse:eclipse.
There are a couple of compilation issues after importing the hadoop projects
into eclipse, though am able to rectify them.

1) hadoop-common: TestAvroSerialization.java doesn't compile as it uses
AvroRecord which exists under target/generated-test-sources/java. 
Solution: Need to include target/generated-test-sources/java as source.

2) hadoop-streaming: linked source folder conf which should point to
hadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn
-server-resourcemanager/conf
doesn't point to the path correctly
Solution: Manually add the conf and link it to
hadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn
-server-resourcemanager/conf

Can this be fixed?

I have just compiled the hadoop trunk codebase.

regards,
sathwik

Reply via email to