Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A96E9958 for ; Fri, 8 Jun 2012 12:55:42 +0000 (UTC) Received: (qmail 6153 invoked by uid 500); 8 Jun 2012 12:55:38 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 6101 invoked by uid 500); 8 Jun 2012 12:55:38 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 6093 invoked by uid 99); 8 Jun 2012 12:55:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 12:55:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pkalmegh@gmail.com designates 209.85.161.176 as permitted sender) Received: from [209.85.161.176] (HELO mail-gg0-f176.google.com) (209.85.161.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 12:55:34 +0000 Received: by ggnk4 with SMTP id k4so1393919ggn.35 for ; Fri, 08 Jun 2012 05:55:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=r33CsL3q/hcERqKMUyFGe+FCLiMV5qfRZFU489n1pZQ=; b=ntY4sQ3iX8s11IKUfK51o4d5Cf+gtilHugOp1R/2u+aIIxDEN7ppRCW22JxrQhzh4s vgVb6cCYq5ESGLaEH2wRPb8nMpddbwEpJ67nmhXHODObrIjY9/3KufLM6BLXwYjNofPb 2lmq7d8BnKKXZTZXXiK43z/yWBlonIY+kALUvsNrEA8UA5keOeZTEqG4cvVLm1PPoVz/ iqd0/58mFix346Rk5z4lEUpeRhIAbYAZ7/k4t/bhwO9AUO7MOUpB5mQVCd8yYL1eE7Ch Nd1AFyWZWgUDv4Sx1uC7UMfmqy2QlGK/xy5iCOtu7nIcwXl1KCfRSzFj30InOpVWIInI G1Cg== Received: by 10.50.160.202 with SMTP id xm10mr2842322igb.10.1339160113380; Fri, 08 Jun 2012 05:55:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.222.7 with HTTP; Fri, 8 Jun 2012 05:54:53 -0700 (PDT) From: Prajakta Kalmegh Date: Fri, 8 Jun 2012 18:24:53 +0530 Message-ID: Subject: Re: Hadoop-Git-Eclipse To: common-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=14dae9340eb7dafd0f04c1f5825c X-Virus-Checked: Checked by ClamAV on apache.org --14dae9340eb7dafd0f04c1f5825c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Yes I did configure using the wiki link at http://wiki.apache.org/hadoop/EclipseEnvironment. I am facing a new problem while setting up Hadoop in Psuedo-distributed mode on my laptop. I am trying to execute the following commands for setting up Hadoop: hdfs namenode -format hdfs namenode hdfs datanode yarn resourcemanager yarn nodemanager It gives me a "Hadoop Common not found." error for all the commands. When I try to use "hadoop namenode -format" instead, it gives me a deprecated command warning. I am following the instructions for setting up Hadoop with Eclipse given in - http://wiki.apache.org/hadoop/HowToSetupYourDevelopmentEnvironment - http://hadoop.apache.org/common/docs/r2.0.0-alpha/hadoop-yarn/hadoop-yarn-s= ite/SingleCluster.html This issue is discussed in JIRA < https://issues.apache.org/jira/browse/HDFS-2014 > and is resolved. Not sure why I am getting the error. My environment variables look something like: HADOOP_COMMON_HOME=3D/home/Projects/hadoop-common/hadoop-common-project/had= oop-common/target/hadoop-common-3.0.0-SNAPSHOT HADOOP_CONF_DIR=3D/home/Projects/hadoop-common/hadoop-common-project/hadoop= -common/target/hadoop-common-3.0.0-SNAPSHOT/etc/hadoop HADOOP_HDFS_HOME=3D/home/Projects/hadoop-common/hadoop-hdfs-project/hadoop-= hdfs/target/hadoop-hdfs-3.0.0-SNAPSHOT HADOOP_MAPRED_HOME=3D/home/Projects/hadoop-common/hadoop-mapreduce-project/= target/hadoop-mapreduce-3.0.0-SNAPSHOT YARN_HOME=3D/home/Projects/hadoop-common/hadoop-mapreduce-project/hadoop-ya= rn/hadoop-yarn-common/target/hadoop-yarn-common-3.0.0-SNAPSHOT YARN_CONF_DIR=3D/home/Projects/hadoop-common/hadoop-mapreduce-project/hadoo= p-yarn/conf I have included them in the PATH. I am trying to build and setup from apache-hadoop-common git repository (my own cloned fork). Any idea why 'Hadoop Common Not found' error is coming? Do I have to add anything to the hadoop-config.sh or hdfs-config.sh? Regards, Prajakta Deniz Demir 06/08/2012 05:35 PM Please respond to common-user@hadoop.apache.org To common-user@hadoop.apache.org, cc Subject Re: Hadoop-Git-Eclipse I did not find that screencast useful. This one worked for me: http://wiki.apache.org/hadoop/EclipseEnvironment Best, Deniz On Jun 8, 2012, at 1:08 AM, shashwat shriparv wrote: > Check out this link: > http://www.cloudera.com/blog/2009/04/configuring-eclipse-for-hadoop-develop= ment-a-screencast/ > > Regards > > =E2=88=9E > Shashwat Shriparv > > > > > On Fri, Jun 8, 2012 at 1:32 PM, Prajakta Kalmegh wrote: > >> Hi >> >> I have done MapReduce programming using Eclipse before but now I need to >> learn the Hadoop code internals for one of my projects. >> >> I have forked Hadoop from github (https://github.com/apache/hadoop-commo= n >> ) and need to configure it to work with Eclipse. All the links I could >> find list steps for earlier versions of Hadoop. I am right now following >> instructions given in these links: >> - http://wiki.apache.org/hadoop/GitAndHadoop >> - http://wiki.apache.org/hadoop/EclipseEnvironment >> - http://wiki.apache.org/hadoop/HowToContribute >> >> Can someone please give me a link to the steps to be followed for gettin= g >> Hadoop (latest from trunk) started in Eclipse? I need to be able to commit >> changes to my forked repository on github. >> >> Thanks in advance. >> Regards, >> Prajakta > > > > > -- > > > =E2=88=9E > Shashwat Shriparv --14dae9340eb7dafd0f04c1f5825c--