Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop, mail # dev - Hadoop latest code not working in Eclipse


Copy link to this message
-
Hadoop latest code not working in Eclipse
Chandrashekhar Kotekar 2013-06-17, 14:20
Hi,

Just now I checked out latest hadoop code from SVN and imported all the
projects in Eclipse but Eclipse is showing lot of "Cannot be resolved to
type" errors.

Many variables are in "hadoop-common" project. Few examples are as below:
*Description ---    Resource  ---  Path --- Location --- Type*
ZKFCProtocolService cannot be resolved ZKFCRpcServer.java
/hadoop-common/src/main/java/org/apache/hadoop/ha line 56 Java Problem
The import org.apache.hadoop.ha.proto cannot be resolved ZKFCRpcServer.java
/hadoop-common/src/main/java/org/apache/hadoop/ha line 27 Java Problem
ZKFCProtocolService cannot be resolved to a type ZKFCProtocolPB.java
/hadoop-common/src/main/java/org/apache/hadoop/ha/protocolPB line 35 Java
Problem
If I run mvn clean install -DskipTests=true from command prompt then build
gets successful.

I would like to know if anyone else is facing same problems.

Thanks,
Chandrash3khar Kotekar
Mobile - 8884631122
+
Devaraj k 2013-06-17, 15:26