You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Mahmood Naderan <nt...@yahoo.com> on 2014/02/23 20:08:18 UTC

Installation question


Hi,
I have followed the steps stated in 
https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout to 
install Mahout. However I get an error at "mvn install"

hadoop@solaris:~/mahout-distribution-0.9$ mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.172 s
[INFO] Finished at: 2014-02-23T21:59:13+03:30
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR]
 The goal you specified requires a project to execute but there is no 
POM in this directory (/export/home/hadoop/mahout-distribution-0.9). 
Please verify you invoked Maven from the correct directory. -> [Help 
1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible
 solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException


Did I missed any prerequisite?
 
Regards,
Mahmood

Re: Installation question

Posted by Suneel Marthi <su...@yahoo.com>.
You run mvn install in the root folder only to build the entire project, the instructions could be wrong for all u know and may need to be updated.





On Monday, February 24, 2014 2:32 AM, Mahmood Naderan <nt...@yahoo.com> wrote:
 
Yes you are right. One more question. I ran "mvn install" in the root folder of Mahout and the output shows all things are done



[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Mahout Build Tools ................................ SUCCESS [ 43.560 s]
[INFO] Apache Mahout ..................................... SUCCESS [ 10.598 s]
[INFO] Mahout Math ....................................... SUCCESS [07:00 min]
[INFO] Mahout Core ....................................... SUCCESS [54:10 min]
[INFO] Mahout Integration ................................ SUCCESS [02:54 min]
[INFO] Mahout Examples ................................... SUCCESS [ 52.636 s]
[INFO] Mahout Release Package ............................ SUCCESS [  0.017 s]
[INFO] Mahout Math/Scala wrappers ........................ SUCCESS [02:40 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:08 h
[INFO] Finished at: 2014-02-24T10:49:17+03:30
[INFO] Final Memory: 43M/166M
[INFO] ------------------------------------------------------------------------



However in the manual it says, change directory to core and run mvn compile ....
This is no needed here because the log says core has been installed? Am I right? 


 
Regards,
Mahmood



On Monday, February 24, 2014 9:53 AM, Andrew Musselman <an...@gmail.com> wrote:

Try mahout-distribution-0.9-src.tar.gz<http://mirrors.ibiblio.org/apache/mahout/0.9/mahout-distribution-0.9-src.tar.gz>
or mahout-distribution-0.9-src.zip<http://mirrors.ibiblio.org/apache/mahout/0.9/mahout-distribution-0.9-src.zip>
if
you want to build the project.  The version you have contains all the jars
needed to run jobs but not the source.



On Sun, Feb 23, 2014 at 9:47 PM, Mahmood Naderan <nt...@yahoo.com>wrote:

> I have downloaded "mahout-distribution-0.9.tar.gz" and here is the content.
>
> hadoop@solaris:~/mahout-distribution-0.9$ ls
> bin                          mahout-core-0.9.jar
> conf                         mahout-examples-0.9-job.jar
> docs                         mahout-examples-0.9.jar
> examples                     mahout-integration-0.9.jar
> lib                          mahout-math-0.9.jar
> LICENSE.txt                  NOTICE.txt
> mahout-core-0.9-job.jar      README.txt
>
>
>
>
> Regards,
> Mahmood
>
>
>
> On Sunday, February 23, 2014 11:40 PM, LEQUEUX Sylvain <
> deux_d_tension@yahoo.fr> wrote:
>
> Hi,
>
> Regarding the Maven message you get, it seems that there is no pom.xml
> file in your mahout-distribution-0.9 directory.
> What file did you download? The one suffixed by -src.zip or -src.targ.gz ?
> Could you try a simple 'ls' (or 'dir' if you are using windows) to see
> which files you have ?
>
> Regards,
> Sylvain Lequeux
>
>
>
>
> Le Dimanche 23 février 2014 20h08, Mahmood Naderan <nt...@yahoo.com>
> a écrit :
>
>
>
> Hi,
> I have followed the steps stated in
> https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout to
> install Mahout. However I get an error at "mvn install"
>
> hadoop@solaris:~/mahout-distribution-0.9$ mvn install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 0.172 s
> [INFO] Finished at: 2014-02-23T21:59:13+03:30
> [INFO] Final Memory: 4M/15M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR]
> The goal you specified requires a project to execute but there is no
> POM in this directory (/export/home/hadoop/mahout-distribution-0.9).
> Please verify you invoked Maven from the correct directory. -> [Help
> 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible
> solutions, please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
>
>
> Did I missed any prerequisite?
>
> Regards,
> Mahmood
>

Re: Installation question

Posted by Mahmood Naderan <nt...@yahoo.com>.
Yes you are right. One more question. I ran "mvn install" in the root folder of Mahout and the output shows all things are done



[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Mahout Build Tools ................................ SUCCESS [ 43.560 s]
[INFO] Apache Mahout ..................................... SUCCESS [ 10.598 s]
[INFO] Mahout Math ....................................... SUCCESS [07:00 min]
[INFO] Mahout Core ....................................... SUCCESS [54:10 min]
[INFO] Mahout Integration ................................ SUCCESS [02:54 min]
[INFO] Mahout Examples ................................... SUCCESS [ 52.636 s]
[INFO] Mahout Release Package ............................ SUCCESS [  0.017 s]
[INFO] Mahout Math/Scala wrappers ........................ SUCCESS [02:40 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:08 h
[INFO] Finished at: 2014-02-24T10:49:17+03:30
[INFO] Final Memory: 43M/166M
[INFO] ------------------------------------------------------------------------



However in the manual it says, change directory to core and run mvn compile ....
This is no needed here because the log says core has been installed? Am I right? 


 
Regards,
Mahmood



On Monday, February 24, 2014 9:53 AM, Andrew Musselman <an...@gmail.com> wrote:
 
Try mahout-distribution-0.9-src.tar.gz<http://mirrors.ibiblio.org/apache/mahout/0.9/mahout-distribution-0.9-src.tar.gz>
or mahout-distribution-0.9-src.zip<http://mirrors.ibiblio.org/apache/mahout/0.9/mahout-distribution-0.9-src.zip>
if
you want to build the project.  The version you have contains all the jars
needed to run jobs but not the source.



On Sun, Feb 23, 2014 at 9:47 PM, Mahmood Naderan <nt...@yahoo.com>wrote:

> I have downloaded "mahout-distribution-0.9.tar.gz" and here is the content.
>
> hadoop@solaris:~/mahout-distribution-0.9$ ls
> bin                          mahout-core-0.9.jar
> conf                         mahout-examples-0.9-job.jar
> docs                         mahout-examples-0.9.jar
> examples                     mahout-integration-0.9.jar
> lib                          mahout-math-0.9.jar
> LICENSE.txt                  NOTICE.txt
> mahout-core-0.9-job.jar      README.txt
>
>
>
>
> Regards,
> Mahmood
>
>
>
> On Sunday, February 23, 2014 11:40 PM, LEQUEUX Sylvain <
> deux_d_tension@yahoo.fr> wrote:
>
> Hi,
>
> Regarding the Maven message you get, it seems that there is no pom.xml
> file in your mahout-distribution-0.9 directory.
> What file did you download? The one suffixed by -src.zip or -src.targ.gz ?
> Could you try a simple 'ls' (or 'dir' if you are using windows) to see
> which files you have ?
>
> Regards,
> Sylvain Lequeux
>
>
>
>
> Le Dimanche 23 février 2014 20h08, Mahmood Naderan <nt...@yahoo.com>
> a écrit :
>
>
>
> Hi,
> I have followed the steps stated in
> https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout to
> install Mahout. However I get an error at "mvn install"
>
> hadoop@solaris:~/mahout-distribution-0.9$ mvn install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 0.172 s
> [INFO] Finished at: 2014-02-23T21:59:13+03:30
> [INFO] Final Memory: 4M/15M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR]
> The goal you specified requires a project to execute but there is no
> POM in this directory (/export/home/hadoop/mahout-distribution-0.9).
> Please verify you invoked Maven from the correct directory. -> [Help
> 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible
> solutions, please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
>
>
> Did I missed any prerequisite?
>
> Regards,
> Mahmood
>

Re: Installation question

Posted by Andrew Musselman <an...@gmail.com>.
Try mahout-distribution-0.9-src.tar.gz<http://mirrors.ibiblio.org/apache/mahout/0.9/mahout-distribution-0.9-src.tar.gz>
 or mahout-distribution-0.9-src.zip<http://mirrors.ibiblio.org/apache/mahout/0.9/mahout-distribution-0.9-src.zip>
if
you want to build the project.  The version you have contains all the jars
needed to run jobs but not the source.


On Sun, Feb 23, 2014 at 9:47 PM, Mahmood Naderan <nt...@yahoo.com>wrote:

> I have downloaded "mahout-distribution-0.9.tar.gz" and here is the content.
>
> hadoop@solaris:~/mahout-distribution-0.9$ ls
> bin                          mahout-core-0.9.jar
> conf                         mahout-examples-0.9-job.jar
> docs                         mahout-examples-0.9.jar
> examples                     mahout-integration-0.9.jar
> lib                          mahout-math-0.9.jar
> LICENSE.txt                  NOTICE.txt
> mahout-core-0.9-job.jar      README.txt
>
>
>
>
> Regards,
> Mahmood
>
>
>
> On Sunday, February 23, 2014 11:40 PM, LEQUEUX Sylvain <
> deux_d_tension@yahoo.fr> wrote:
>
> Hi,
>
> Regarding the Maven message you get, it seems that there is no pom.xml
> file in your mahout-distribution-0.9 directory.
> What file did you download? The one suffixed by -src.zip or -src.targ.gz ?
> Could you try a simple 'ls' (or 'dir' if you are using windows) to see
> which files you have ?
>
> Regards,
> Sylvain Lequeux
>
>
>
>
> Le Dimanche 23 février 2014 20h08, Mahmood Naderan <nt...@yahoo.com>
> a écrit :
>
>
>
> Hi,
> I have followed the steps stated in
> https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout to
> install Mahout. However I get an error at "mvn install"
>
> hadoop@solaris:~/mahout-distribution-0.9$ mvn install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 0.172 s
> [INFO] Finished at: 2014-02-23T21:59:13+03:30
> [INFO] Final Memory: 4M/15M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR]
> The goal you specified requires a project to execute but there is no
> POM in this directory (/export/home/hadoop/mahout-distribution-0.9).
> Please verify you invoked Maven from the correct directory. -> [Help
> 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible
> solutions, please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
>
>
> Did I missed any prerequisite?
>
> Regards,
> Mahmood
>

Re: Installation question

Posted by Mahmood Naderan <nt...@yahoo.com>.
I have downloaded "mahout-distribution-0.9.tar.gz" and here is the content.

hadoop@solaris:~/mahout-distribution-0.9$ ls
bin                          mahout-core-0.9.jar
conf                         mahout-examples-0.9-job.jar
docs                         mahout-examples-0.9.jar
examples                     mahout-integration-0.9.jar
lib                          mahout-math-0.9.jar
LICENSE.txt                  NOTICE.txt
mahout-core-0.9-job.jar      README.txt



 
Regards,
Mahmood



On Sunday, February 23, 2014 11:40 PM, LEQUEUX Sylvain <de...@yahoo.fr> wrote:
 
Hi,

Regarding the Maven message you get, it seems that there is no pom.xml file in your mahout-distribution-0.9 directory.
What file did you download? The one suffixed by -src.zip or -src.targ.gz ?
Could you try a simple 'ls' (or 'dir' if you are using windows) to see which files you have ? 

Regards,
Sylvain Lequeux




Le Dimanche 23 février 2014 20h08, Mahmood Naderan <nt...@yahoo.com> a écrit :



Hi,
I have followed the steps stated in 
https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout to 
install Mahout. However I get an error at "mvn install"

hadoop@solaris:~/mahout-distribution-0.9$ mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO]
BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.172 s
[INFO] Finished at: 2014-02-23T21:59:13+03:30
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR]
The goal you specified requires a project to execute but there is no 
POM in this directory (/export/home/hadoop/mahout-distribution-0.9). 
Please verify you invoked Maven from the correct directory. -> [Help 
1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible
solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException


Did I missed any prerequisite?
 
Regards,
Mahmood

Re: Installation question

Posted by LEQUEUX Sylvain <de...@yahoo.fr>.
Hi,

Regarding the Maven message you get, it seems that there is no pom.xml file in your mahout-distribution-0.9 directory.
What file did you download? The one suffixed by -src.zip or -src.targ.gz ?
Could you try a simple 'ls' (or 'dir' if you are using windows) to see which files you have ? 

Regards,
Sylvain Lequeux



Le Dimanche 23 février 2014 20h08, Mahmood Naderan <nt...@yahoo.com> a écrit :
 


Hi,
I have followed the steps stated in 
https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout to 
install Mahout. However I get an error at "mvn install"

hadoop@solaris:~/mahout-distribution-0.9$ mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO]
 BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.172 s
[INFO] Finished at: 2014-02-23T21:59:13+03:30
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR]
The goal you specified requires a project to execute but there is no 
POM in this directory (/export/home/hadoop/mahout-distribution-0.9). 
Please verify you invoked Maven from the correct directory. -> [Help 
1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible
solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException


Did I missed any prerequisite?
 
Regards,
Mahmood