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

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


Copy link to this message
-
Re: Hadoop latest code not working in Eclipse
Devaraj k 2013-06-17, 15:26
And also you need to run the command >mvn eclipse:eclipse

You can go through this page  http://wiki.apache.org/hadoop/EclipseEnvironment
Thanks
Devaraj K

On 6/17/13, Chandrashekhar Kotekar <[EMAIL PROTECTED]> wrote:
> 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
>