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 52BD5F97D for ; Fri, 22 Mar 2013 00:41:49 +0000 (UTC) Received: (qmail 65328 invoked by uid 500); 22 Mar 2013 00:41:44 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 65218 invoked by uid 500); 22 Mar 2013 00:41:44 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 65210 invoked by uid 99); 22 Mar 2013 00:41:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Mar 2013 00:41:44 +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 hitesh@hortonworks.com designates 209.85.210.53 as permitted sender) Received: from [209.85.210.53] (HELO mail-da0-f53.google.com) (209.85.210.53) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Mar 2013 00:41:36 +0000 Received: by mail-da0-f53.google.com with SMTP id n34so829023dal.40 for ; Thu, 21 Mar 2013 17:41:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=A0Of1QkWpnPGU8q2UOLS/fHE+SIMwIiPw2nKHROXdms=; b=lG3nyw4v49Nr8jhVb9NtB+EpRwTHeIeT/n0hxDyxpYeEQ949AUKZlqYuS/FHYtemfp hhrt4QhqtE40F7QxCCz1zT9x/viQ+JSGVcaWSs66A+vuamKm7VDTbl3tzcjzh/0RsdXl jIRGpgaYTFexI9FIdqkeqfS7685tJDOw5y8ue1CrLftqRKjT1am9QazXoZfDbi5PE3rf wl5CNgae2eDLdkX64JQti8Ucepqercwpa+uQM8YhL9l0QvqiwZG3aesFiZYPEI92wE5I var4IsEilyx7ocHs7lRvyyoWOD82I19QWQbxtNkSoIErzuoKp3RNCu9G6kBzsozcy9/3 /1/w== X-Received: by 10.68.217.165 with SMTP id oz5mr17865382pbc.183.1363912875673; Thu, 21 Mar 2013 17:41:15 -0700 (PDT) Received: from [10.11.3.247] (host1.hortonworks.com. [70.35.59.2]) by mx.google.com with ESMTPS id iv3sm128285pbc.40.2013.03.21.17.41.14 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Mar 2013 17:41:15 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1085) Subject: Re: The most newbie question ever From: Hitesh Shah In-Reply-To: <9EECFA36-A352-4BAE-ACB8-0C0571EF5C04@hortonworks.com> Date: Thu, 21 Mar 2013 17:41:13 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <398C0AA4-09FD-4F94-A0C5-858E4F3BACD6@hortonworks.com> References: <9EECFA36-A352-4BAE-ACB8-0C0571EF5C04@hortonworks.com> To: user@hadoop.apache.org X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQn7nrm4Iu4gjOoLN+mdPmL0+6tNIQ1uZLAlf2Apl83yxzvOo0A/bT1VtK7jc4cppg5E2JOB X-Virus-Checked: Checked by ClamAV on apache.org Also, BUILDING.txt can be found at the top level directory of the = checked out code.=20 -- Hitesh=20 On Mar 21, 2013, at 5:39 PM, Hitesh Shah wrote: > Assuming you have checked out the hadoop source code into = /home/keithomas/hadoop-common/ , you need to run the maven command in = that directory and not from /home/keithomas/ =20 >=20 > -- Hitesh=20 >=20 >=20 > On Mar 21, 2013, at 5:20 PM, Keith Thomas wrote: >=20 >> Thank you for your help Mayank. I managed to google for BUILDING.TXT = and discovered I need maven3. I installed maven3. >>=20 >> When I enter the command on the getting started link you sent me this = happens, >>=20 >> keithomas@ubuntu:~$ mvn clean install -DskipTests >> [INFO] Scanning for projects... >> [INFO] = ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] = ------------------------------------------------------------------------ >> [INFO] Total time: 0.119s >> [INFO] Finished at: Thu Mar 21 17:14:39 PDT 2013 >> [INFO] Final Memory: 3M/247M >> [INFO] = ------------------------------------------------------------------------ >> [ERROR] The goal you specified requires a project to execute but = there is no POM in this directory (/home/keithomas). Please verify you = invoked Maven from the correct directory. -> [Help 1] >>=20 >> and when I enter the command you kindly sent this happens, >>=20 >> keithomas@ubuntu:~$ mvn package -Pdist -DskipTests -Dtar >> [INFO] Scanning for projects... >> [INFO] = ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] = ------------------------------------------------------------------------ >> [INFO] Total time: 0.114s >> [INFO] Finished at: Thu Mar 21 17:15:11 PDT 2013 >> [INFO] Final Memory: 3M/247M >> [INFO] = ------------------------------------------------------------------------ >> [WARNING] The requested profile "dist" could not be activated because = it does not exist. >> [ERROR] The goal you specified requires a project to execute but = there is no POM in this directory (/home/keithomas). Please verify you = invoked Maven from the correct directory. -> [Help 1] >> [ERROR]=20 >>=20 >>=20 >> On Thu, Mar 21, 2013 at 4:38 PM, Mayank Bansal = wrote: >> There is a BUILDING.txt >>=20 >> $ mvn package -Pdist -DskipTests -Dtar >>=20 >> Thanks, >> Mayank >>=20 >> On Thu, Mar 21, 2013 at 4:35 PM, Keith Thomas = wrote: >>> Thanks for the great link but sorry it looks like this is going to = be a long >>> process. >>>=20 >>> Step 1 is: mvn clean install -DskipTests >>>=20 >>> First of all my OS tells me I need maven but it gives me two = choices, maven >>> and maven 2. >>>=20 >>> Is there any pre-req info for Hadoop? I've previously guessed I = should >>> installed open jdk 6. This time I guess maven 2. The result of the = 'clean >>> install' is an error, >>>=20 >>> [ERROR] BUILD ERROR >>> [INFO] >>> = ------------------------------------------------------------------------ >>> [INFO] Cannot execute mojo: clean. It requires a project with an = existing >>> pom.xml, but the build is not using one. >>>=20 >>> :( >>>=20 >>> Looking ahead the next instruction is to CD into a folder that does = not >>> exist on my machine, >>>=20 >>> cd hadoop-mapreduce-project >>>=20 >>> A little after that the instructions note I must have installed = version >>> 2.4.1 or greater. 2.4.1 of what? >>>=20 >>>=20 >>> I feel I am missing the point somewhere :( >>>=20 >>>=20 >>>=20 >>> On Thu, Mar 21, 2013 at 4:12 PM, Mayank Bansal = wrote: >>>>=20 >>>> http://hadoop.apache.org/docs/r2.0.3-alpha/ >>>>=20 >>>> On Thu, Mar 21, 2013 at 4:00 PM, Keith Thomas = >>>> wrote: >>>>> After three years in a non-Hadoop Windows wilderness I am lucky = enough >>>>> to >>>>> return and wow I find Hadoop 2.0 .... Brilliant! >>>>>=20 >>>>> I quickly navigated here: >>>>> http://hadoop.apache.org/index.html#Getting+Started >>>>>=20 >>>>> and eagerly downloaded 2.0.3 alpha. Hmmm, now what? I see the = following >>>>> sections, >>>>>=20 >>>>> Getting Started >>>>>=20 >>>>> To get started, begin here: >>>>>=20 >>>>> Learn about Hadoop by reading the documentation. >>>>> Download Hadoop from the release page. >>>>> Discuss Hadoop on the mailing list. >>>>>=20 >>>>>=20 >>>>> but I can't find installation instructions. I look for the latest >>>>> version of >>>>> my Tom White collection and the latest book is a year old and is >>>>> unlikely to >>>>> be current enough to be of use to someone as out of date as me. = Please >>>>> help >>>>> me to get started. So far I've only managed to download and unzip = 2.0.3 >>>>> and >>>>> to install open jdk 6. >>>>>=20 >>>>> Many thanks for your patience. >>>>>=20 >>>=20 >>>=20 >>=20 >=20