And also you need to run the command >mvn eclipse:eclipse
You can go through this page http://wiki.apache.org/hadoop/EclipseEnvironment
On 6/17/13, Chandrashekhar Kotekar <[EMAIL PROTECTED]> wrote:
> 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