hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chandrashekhar Kotekar <shekhar.kote...@gmail.com>
Subject Hadoop latest code not working in Eclipse
Date Mon, 17 Jun 2013 14:20:03 GMT

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

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.

Chandrash3khar Kotekar
Mobile - 8884631122

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message