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

Switch to Plain View
MapReduce >> mail # user >> Re: The most newbie question ever


+
Keith Thomas 2013-03-22, 00:20
Copy link to this message
-
Re: The most newbie question ever
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/  

-- Hitesh
On Mar 21, 2013, at 5:20 PM, Keith Thomas wrote:

> Thank you for your help Mayank. I managed to google for BUILDING.TXT and discovered I need maven3. I installed maven3.
>
> When I enter the command on the getting started link you sent me this happens,
>
> 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]
>
> and when I enter the command you kindly sent this happens,
>
> 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]
>
>
> On Thu, Mar 21, 2013 at 4:38 PM, Mayank Bansal <[EMAIL PROTECTED]> wrote:
> There is a BUILDING.txt
>
>  $ mvn package -Pdist -DskipTests -Dtar
>
> Thanks,
> Mayank
>
> On Thu, Mar 21, 2013 at 4:35 PM, Keith Thomas <[EMAIL PROTECTED]> wrote:
> > Thanks for the great link but sorry it looks like this is going to be a long
> > process.
> >
> > Step 1 is: mvn clean install -DskipTests
> >
> > First of all my OS tells me I need maven but it gives me two choices, maven
> > and maven 2.
> >
> > 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,
> >
> > [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.
> >
> > :(
> >
> > Looking ahead the next instruction is to CD into a folder that does not
> > exist on my machine,
> >
> > cd hadoop-mapreduce-project
> >
> > A little after that the instructions note I must have installed version
> > 2.4.1 or greater. 2.4.1 of what?
> >
> >
> > I feel I am missing the point somewhere :(
> >
> >
> >
> > On Thu, Mar 21, 2013 at 4:12 PM, Mayank Bansal <[EMAIL PROTECTED]> wrote:
> >>
> >> http://hadoop.apache.org/docs/r2.0.3-alpha/
> >>
> >> On Thu, Mar 21, 2013 at 4:00 PM, Keith Thomas <[EMAIL PROTECTED]>
> >> wrote:
> >> > After three years in a non-Hadoop Windows wilderness I am lucky enough
> >> > to
> >> > return and wow I find Hadoop 2.0 .... Brilliant!
> >> >
> >> > I quickly navigated here:
> >> >    http://hadoop.apache.org/index.html#Getting+Started
> >> >
> >> > and eagerly downloaded 2.0.3 alpha. Hmmm, now what? I see the following
> >> > sections,
> >> >
> >> > Getting Started
> >> >
> >> > To get started, begin here:
> >> >
> >> > Learn about Hadoop by reading the documentation.
> >> > Download Hadoop from the release page.
> >> > Discuss Hadoop on the mailing list.
> >> >
+
Keith Thomas 2013-03-22, 20:30
+
Keith Thomas 2013-03-22, 22:05