Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 825C810F8B for ; Mon, 17 Jun 2013 15:26:31 +0000 (UTC) Received: (qmail 29183 invoked by uid 500); 17 Jun 2013 15:26:29 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 28759 invoked by uid 500); 17 Jun 2013 15:26:28 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 28745 invoked by uid 99); 17 Jun 2013 15:26:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 15:26:27 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of devarajk2k@gmail.com designates 209.85.214.196 as permitted sender) Received: from [209.85.214.196] (HELO mail-ob0-f196.google.com) (209.85.214.196) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 15:26:21 +0000 Received: by mail-ob0-f196.google.com with SMTP id up14so1543557obb.7 for ; Mon, 17 Jun 2013 08:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=/srnDEW+hSFLFXeUI4OjkGxAVe80qUgjSBCJop0hNzQ=; b=rwzVpzkdX+bzmaA7z1ziDAcEsPRrkU7PewOhU4kD72es/R4HiS4WYL+ec27CVTKUUu Lt0mk7WTcjCNddiHoAxwouqZNaEBtrkW/54uPj3QV+zkmleqwXCLaQeFahat5EvTtU8Y 7krTDuEC+SYtGUPiU6OBmX2UVmYj0Pyn6NWFK1IVn+D61ee92gtcDoq7txpdGoa2xdEv N4XM70kJ3OCzb8DU/NMFAa9pWgftdLOhYBl4guebJ/FfJoXDJJ4941EEIXEXP6rOBZ5X kq6BBwCQpBQCyC1gLHBrhr6TqyUgLuhGoGAOAVorbIzqtizXi8tARF6qjr9qfTBmWOQY svZA== MIME-Version: 1.0 X-Received: by 10.182.88.202 with SMTP id bi10mr5595630obb.91.1371482760408; Mon, 17 Jun 2013 08:26:00 -0700 (PDT) Received: by 10.60.12.69 with HTTP; Mon, 17 Jun 2013 08:26:00 -0700 (PDT) In-Reply-To: References: Date: Mon, 17 Jun 2013 20:56:00 +0530 Message-ID: Subject: Re: Hadoop latest code not working in Eclipse From: Devaraj k To: common-dev@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 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 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 >