You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by "Majin_Clodan@t-online.de" <Ma...@t-online.de> on 2012/10/09 17:03:14 UTC
mahout-error in virtual machine
Hello guys.
I have a small question. I installed successfully mahout on my
system. Then I installed the virtual machine Vagrant on which I
wanted install mahout as well. By the installation I get the
following error:
Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.12:test
(default-test) on project mahout-core: Error occurred in starting
fork, check output in log -> [Help 1] Can anyone help me with this
error? Just in the virtual machine I get this error. :( Greetings,
Clodan
Re: mahout-error in virtual machine
Posted by Ted Dunning <te...@gmail.com>.
This might work, but the messages indicate that the environment is
seriously messed up. Just getting the code isn't going to help. The tests
are indicating that there is a real problem (and it isn't likely Mahout).
That problem needs fixing and once fixed running the tests isn't a bad
thing.
On Wed, Oct 10, 2012 at 1:35 AM, Julian Ortega <jo...@gmail.com> wrote:
> You could try not running the tests.
>
> Instead of doing mvn install you can do mvn install -DskipTests
>
> On Wed, Oct 10, 2012 at 9:10 AM, paritosh ranjan
> <pa...@gmail.com>wrote:
>
> > You are getting test errors.
> >
> > Results :
> >
> > Tests in error:
> > testRetailDataMinSup100(org.
> > >
> > > apache.mahout.fpm.pfpgrowth.PFPGrowthRetailDataTest):
> > > Error while running command to get file permissions :
> > > java.io.IOException: Cannot run program "/bin/ls":
> > > java.io.IOException: error=12, Cannot allocate memory(..)
> >
> > You are facing memory issues, as per the error.
> > See this :
> >
> >
> http://lists.opencastproject.org/pipermail/matterhorn-users/2010-August/000007.html
> > .
> >
> > I think its a system configuration issue and nothing related to Mahout.
> >
> > On Wed, Oct 10, 2012 at 12:17 PM, Majin_Clodan@t-online.de <
> > Majin_Clodan@t-online.de> wrote:
> >
> > > Hello,
> > >
> > > the OS in my VM is Ubuntu. On my system I have Ubuntu as well
> > with
> > > the following properties:
> > >
> > > Distributor ID: Ubuntu
> > > Description: Ubuntu 12.04 LTS
> > > Release: 12.04
> > > Codename: precise
> > >
> > > I made "svn co http://svn.apache.org/repos/asf/mahout/trunk"
> to
> > > get
> > > the subversion of mahout. Then in the directory "trunk" I made "mvn
> > > install". On my system it worked but in the VM I get the error:
> > >
> > > Failed to execute goal
> > > > org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > (default-test) on project mahout-core: Error occurred in starting
> > > > fork, check output in log -> [Help 1]
> > >
> > > I executed this command as root as well but the error appeared
> > > again.
> > >
> > >
> > > Here is the last part of the output:
> > >
> > > ...
> > >
> > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> > > 0.102
> > > sec
> > > Running org.apache.mahout.driver.MahoutDriverTest
> > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.338
> > > sec
> > > Running
> > > org.apache.mahout.fpm.pfpgrowth.fpgrowth.FrequentPatternMaxHeapTest
> > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.183
> > > sec
> > > Running org.apache.mahout.fpm.pfpgrowth.FPGrowthTest
> > > Killed
> > >
> > > Results :
> > >
> > > Tests run: 307, Failures: 0, Errors: 0, Skipped: 0
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Reactor Summary:
> > > [INFO]
> > > [INFO] Apache Mahout ..................................... SUCCESS
> > > [2.592s]
> > > [INFO] Mahout Build Tools ................................ SUCCESS
> > > [2.425s]
> > > [INFO] Mahout Math ....................................... SUCCESS
> > > [1:14.858s]
> > > [INFO] Mahout Core ....................................... FAILURE
> > > [7:48.686s]
> > > [INFO] Mahout Integration ................................ SKIPPED
> > > [INFO] Mahout Examples ................................... SKIPPED
> > > [INFO] Mahout Release Package ............................ SKIPPED
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] BUILD FAILURE
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Total time: 9:09.908s
> > > [INFO] Finished at: Wed Oct 10 06:22:26 UTC 2012
> > > [INFO] Final Memory: 17M/75M
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > (default-test) on project mahout-core: Error occurred in starting
> > > fork, check output in log -> [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/MojoExecutionException
> > > [ERROR]
> > > [ERROR] After correcting the problems, you can resume the build with
> > > the command
> > > [ERROR] mvn <goals> -rf :mahout-core
> > >
> > > With the command "mvn clean install" I get the same error. :(
> > >
> > > when I execute "mvn install -X" for the debug-mode I get the
> > > following:
> > >
> > > ...
> > >
> > > Running
> > >
> >
> org.apache.mahout.math.hadoop.similarity.cooccurrence.RowSimilarityJobTest
> > > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.487
> > > sec
> > > Running
> > >
> org.apache.mahout.math.hadoop.similarity.TestVectorDistanceSimilarityJob
> > > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.093
> > > sec
> > > Running org.apache.mahout.math.hadoop.TestDistributedRowMatrix
> > > Killed
> > >
> > > Results :
> > >
> > > Tests in error:
> > >
> > >
> > >
> >
> testRetailDataMinSup100(org.apache.mahout.fpm.pfpgrowth.PFPGrowthRetailDataTest):
> > > Error while running command to get file permissions :
> > > java.io.IOException: Cannot run program "/bin/ls":
> > > java.io.IOException: error=12, Cannot allocate memory(..)
> > >
> > >
> > >
> >
> testRetailDataMinSup100InSteps(org.apache.mahout.fpm.pfpgrowth.PFPGrowthRetailDataTest):
> > > Error while running command to get file permissions :
> > > java.io.IOException: Cannot run program "/bin/ls":
> > > java.io.IOException: error=12, Cannot allocate memory(..)
> > >
> > >
> testStartParallelFPGrowth(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest):
> > > Error while running command to get file permissions :
> > > java.io.IOException: Cannot run program "/bin/ls":
> > > java.io.IOException: error=12, Cannot allocate memory(..)
> > >
> > >
> > >
> >
> testStartParallelFPGrowthInSteps(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest):
> > > Error while running command to get file permissions :
> > > java.io.IOException: Cannot run program "/bin/ls":
> > > java.io.IOException: error=12, Cannot allocate memory(..)
> > >
> > >
> > >
> >
> testSolver(org.apache.mahout.math.hadoop.solver.TestDistributedConjugateGradientSolverCLI):
> > > Error while running command to get file permissions :
> > > java.io.IOException: Cannot run program "/bin/ls":
> > > java.io.IOException: error=12, Cannot allocate memory(..)
> > >
> > >
> > >
> >
> testSolver(org.apache.mahout.math.hadoop.solver.TestDistributedConjugateGradientSolver):
> > > Error while running command to get file permissions :
> > > java.io.IOException: Cannot run program "/bin/ls":
> > > java.io.IOException: error=12, Cannot allocate memory(..)
> > >
> > >
> > >
> >
> runPCATest1(org.apache.mahout.math.hadoop.stochasticsvd.LocalSSVDPCADenseTest):
> > > Error while running command to get file permissions :
> > > java.io.IOException: Cannot run program "/bin/ls":
> > > java.io.IOException: error=12, Cannot allocate memory(..)
> > >
> > >
> > >
> >
> testSSVDSolverPowerIterations1(org.apache.mahout.math.hadoop.stochasticsvd.LocalSSVDSolverSparseSequentialTest):
> > > Error while running command to get file permissions :
> > > java.io.IOException: Cannot run program "/bin/ls":
> > > java.io.IOException: error=12, Cannot allocate memory(..)
> > >
> > >
> > >
> >
> testDistributedLanczosSolverCLI(org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI):
> > > Error while running command to get file permissions :
> > > java.io.IOException: Cannot run program "/bin/ls":
> > > java.io.IOException: error=12, Cannot allocate memory(..)
> > >
> > >
> > >
> >
> testDistributedLanczosSolverEVJCLI(org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI):
> > > Error while running command to get file permissions :
> > > java.io.IOException: Cannot run program "/bin/ls":
> > > java.io.IOException: error=12, Cannot allocate memory(..)
> > >
> > > Tests run: 388, Failures: 0, Errors: 10, Skipped: 0
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Reactor Summary:
> > > [INFO]
> > > [INFO] Apache Mahout ..................................... SUCCESS
> > > [1.805s]
> > > [INFO] Mahout Build Tools ................................ SUCCESS
> > > [1.908s]
> > > [INFO] Mahout Math ....................................... SUCCESS
> > > [1:00.404s]
> > > [INFO] Mahout Core ....................................... FAILURE
> > > [18:18.763s]
> > > [INFO] Mahout Integration ................................ SKIPPED
> > > [INFO] Mahout Examples ................................... SKIPPED
> > > [INFO] Mahout Release Package ............................ SKIPPED
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] BUILD FAILURE
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Total time: 19:24.400s
> > > [INFO] Finished at: Wed Oct 10 06:43:10 UTC 2012
> > > [INFO] Final Memory: 17M/54M
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > (default-test) on project mahout-core: Error occurred in starting
> > > fork, check output in log -> [Help 1]
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > > execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > (default-test) on project mahout-core: Error occurred in starting
> > > fork, check output in log
> > > at
> > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
> > > at
> > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > > at
> > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > at
> > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > > at
> > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > at
> > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > at
> > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > > at java.lang.reflect.Method.invoke(Method.java:616)
> > > at
> > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > at
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > at
> > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > at
> > >
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > Caused by: org.apache.maven.plugin.MojoExecutionException: Error
> > > occurred in starting fork, check output in log
> > > at
> > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.assertNoException(SurefirePlugin.java:656)
> > > at
> > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:645)
> > > at
> > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
> > > at
> > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> > > at
> > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> > > at
> > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> > > ... 19 more
> > > Caused by:
> > > org.apache.maven.surefire.booter.SurefireBooterForkException: Error
> > > occurred in starting fork, check output in log
> > > at
> > >
> > >
> >
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:281)
> > > at
> > >
> > >
> >
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:113)
> > > at
> > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:199)
> > > at
> > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAllProviders(AbstractSurefireMojo.java:176)
> > > at
> > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:135)
> > > ... 22 more
> > > [ERROR]
> > > [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/MojoExecutionException
> > > [ERROR]
> > > [ERROR] After correcting the problems, you can resume the build with
> > > the command
> > > [ERROR] mvn <goals> -rf :mahout-core
> > >
> > > What can I do? How can I solve this problem? 2 days I try to
> > solve
> > > this but I don't can solve it. :(
> > >
> > > They say that I should check the log. I can't find it. Where is
> > it?
> > > Do you or someone else know it?
> > >
> > > I really hope someone can help me with this problem...
> > >
> > > Greetings, Clodan
> > >
> > > Von: paritosh ranjan <pa...@gmail.com>
> > > An: user@mahout.apache.org, "Majin_Clodan@t-online.de"
> > > <Ma...@t-online.de>
> > > Betreff: Re: mahout-error in virtual machine
> > > Datum: Tue, 09 Oct 2012 21:25:13 +0200
> > >
> > > What is the operating system on VM?
> > > Which action resulted in this error?
> > >
> > > Can you provide some more information. Its difficult to say anything
> > > with
> > > this much info.
> > >
> > > On Tue, Oct 9, 2012 at 8:33 PM, Majin_Clodan@t-online.de [1] <
> > > Majin_Clodan@t-online.de [2]> wrote:
> > >
> > > > Hello guys.
> > > >
> > > > I have a small question. I installed successfully mahout
> > > on my
> > > > system. Then I installed the virtual machine Vagrant on which I
> > > > wanted install mahout as well. By the installation I get the
> > > > following error:
> > > >
> > > > Failed to execute goal
> > > > org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > (default-test) on project mahout-core: Error occurred in starting
> > > > fork, check output in log -> [Help 1] Can anyone help me with
> > > this
> > > > error? Just in the virtual machine I get this error. :(
> > > Greetings,
> > > > Clodan
> > >
> > > Links:
> > > ------
> > > [1] javascript:void(0)
> > > [2] javascript:void(0)
> > >
> >
>
Re: mahout-error in virtual machine
Posted by Julian Ortega <jo...@gmail.com>.
You could try not running the tests.
Instead of doing mvn install you can do mvn install -DskipTests
On Wed, Oct 10, 2012 at 9:10 AM, paritosh ranjan
<pa...@gmail.com>wrote:
> You are getting test errors.
>
> Results :
>
> Tests in error:
> testRetailDataMinSup100(org.
> >
> > apache.mahout.fpm.pfpgrowth.PFPGrowthRetailDataTest):
> > Error while running command to get file permissions :
> > java.io.IOException: Cannot run program "/bin/ls":
> > java.io.IOException: error=12, Cannot allocate memory(..)
>
> You are facing memory issues, as per the error.
> See this :
>
> http://lists.opencastproject.org/pipermail/matterhorn-users/2010-August/000007.html
> .
>
> I think its a system configuration issue and nothing related to Mahout.
>
> On Wed, Oct 10, 2012 at 12:17 PM, Majin_Clodan@t-online.de <
> Majin_Clodan@t-online.de> wrote:
>
> > Hello,
> >
> > the OS in my VM is Ubuntu. On my system I have Ubuntu as well
> with
> > the following properties:
> >
> > Distributor ID: Ubuntu
> > Description: Ubuntu 12.04 LTS
> > Release: 12.04
> > Codename: precise
> >
> > I made "svn co http://svn.apache.org/repos/asf/mahout/trunk" to
> > get
> > the subversion of mahout. Then in the directory "trunk" I made "mvn
> > install". On my system it worked but in the VM I get the error:
> >
> > Failed to execute goal
> > > org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > (default-test) on project mahout-core: Error occurred in starting
> > > fork, check output in log -> [Help 1]
> >
> > I executed this command as root as well but the error appeared
> > again.
> >
> >
> > Here is the last part of the output:
> >
> > ...
> >
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> > 0.102
> > sec
> > Running org.apache.mahout.driver.MahoutDriverTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.338
> > sec
> > Running
> > org.apache.mahout.fpm.pfpgrowth.fpgrowth.FrequentPatternMaxHeapTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.183
> > sec
> > Running org.apache.mahout.fpm.pfpgrowth.FPGrowthTest
> > Killed
> >
> > Results :
> >
> > Tests run: 307, Failures: 0, Errors: 0, Skipped: 0
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache Mahout ..................................... SUCCESS
> > [2.592s]
> > [INFO] Mahout Build Tools ................................ SUCCESS
> > [2.425s]
> > [INFO] Mahout Math ....................................... SUCCESS
> > [1:14.858s]
> > [INFO] Mahout Core ....................................... FAILURE
> > [7:48.686s]
> > [INFO] Mahout Integration ................................ SKIPPED
> > [INFO] Mahout Examples ................................... SKIPPED
> > [INFO] Mahout Release Package ............................ SKIPPED
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 9:09.908s
> > [INFO] Finished at: Wed Oct 10 06:22:26 UTC 2012
> > [INFO] Final Memory: 17M/75M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > (default-test) on project mahout-core: Error occurred in starting
> > fork, check output in log -> [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/MojoExecutionException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with
> > the command
> > [ERROR] mvn <goals> -rf :mahout-core
> >
> > With the command "mvn clean install" I get the same error. :(
> >
> > when I execute "mvn install -X" for the debug-mode I get the
> > following:
> >
> > ...
> >
> > Running
> >
> org.apache.mahout.math.hadoop.similarity.cooccurrence.RowSimilarityJobTest
> > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.487
> > sec
> > Running
> > org.apache.mahout.math.hadoop.similarity.TestVectorDistanceSimilarityJob
> > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.093
> > sec
> > Running org.apache.mahout.math.hadoop.TestDistributedRowMatrix
> > Killed
> >
> > Results :
> >
> > Tests in error:
> >
> >
> >
> testRetailDataMinSup100(org.apache.mahout.fpm.pfpgrowth.PFPGrowthRetailDataTest):
> > Error while running command to get file permissions :
> > java.io.IOException: Cannot run program "/bin/ls":
> > java.io.IOException: error=12, Cannot allocate memory(..)
> >
> >
> >
> testRetailDataMinSup100InSteps(org.apache.mahout.fpm.pfpgrowth.PFPGrowthRetailDataTest):
> > Error while running command to get file permissions :
> > java.io.IOException: Cannot run program "/bin/ls":
> > java.io.IOException: error=12, Cannot allocate memory(..)
> >
> > testStartParallelFPGrowth(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest):
> > Error while running command to get file permissions :
> > java.io.IOException: Cannot run program "/bin/ls":
> > java.io.IOException: error=12, Cannot allocate memory(..)
> >
> >
> >
> testStartParallelFPGrowthInSteps(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest):
> > Error while running command to get file permissions :
> > java.io.IOException: Cannot run program "/bin/ls":
> > java.io.IOException: error=12, Cannot allocate memory(..)
> >
> >
> >
> testSolver(org.apache.mahout.math.hadoop.solver.TestDistributedConjugateGradientSolverCLI):
> > Error while running command to get file permissions :
> > java.io.IOException: Cannot run program "/bin/ls":
> > java.io.IOException: error=12, Cannot allocate memory(..)
> >
> >
> >
> testSolver(org.apache.mahout.math.hadoop.solver.TestDistributedConjugateGradientSolver):
> > Error while running command to get file permissions :
> > java.io.IOException: Cannot run program "/bin/ls":
> > java.io.IOException: error=12, Cannot allocate memory(..)
> >
> >
> >
> runPCATest1(org.apache.mahout.math.hadoop.stochasticsvd.LocalSSVDPCADenseTest):
> > Error while running command to get file permissions :
> > java.io.IOException: Cannot run program "/bin/ls":
> > java.io.IOException: error=12, Cannot allocate memory(..)
> >
> >
> >
> testSSVDSolverPowerIterations1(org.apache.mahout.math.hadoop.stochasticsvd.LocalSSVDSolverSparseSequentialTest):
> > Error while running command to get file permissions :
> > java.io.IOException: Cannot run program "/bin/ls":
> > java.io.IOException: error=12, Cannot allocate memory(..)
> >
> >
> >
> testDistributedLanczosSolverCLI(org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI):
> > Error while running command to get file permissions :
> > java.io.IOException: Cannot run program "/bin/ls":
> > java.io.IOException: error=12, Cannot allocate memory(..)
> >
> >
> >
> testDistributedLanczosSolverEVJCLI(org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI):
> > Error while running command to get file permissions :
> > java.io.IOException: Cannot run program "/bin/ls":
> > java.io.IOException: error=12, Cannot allocate memory(..)
> >
> > Tests run: 388, Failures: 0, Errors: 10, Skipped: 0
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache Mahout ..................................... SUCCESS
> > [1.805s]
> > [INFO] Mahout Build Tools ................................ SUCCESS
> > [1.908s]
> > [INFO] Mahout Math ....................................... SUCCESS
> > [1:00.404s]
> > [INFO] Mahout Core ....................................... FAILURE
> > [18:18.763s]
> > [INFO] Mahout Integration ................................ SKIPPED
> > [INFO] Mahout Examples ................................... SKIPPED
> > [INFO] Mahout Release Package ............................ SKIPPED
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 19:24.400s
> > [INFO] Finished at: Wed Oct 10 06:43:10 UTC 2012
> > [INFO] Final Memory: 17M/54M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > (default-test) on project mahout-core: Error occurred in starting
> > fork, check output in log -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > (default-test) on project mahout-core: Error occurred in starting
> > fork, check output in log
> > at
> >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
> > at
> >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > at
> >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > at
> >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > at
> >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > at
> >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > at
> >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:616)
> > at
> >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > at
> >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > at
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > Caused by: org.apache.maven.plugin.MojoExecutionException: Error
> > occurred in starting fork, check output in log
> > at
> >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.assertNoException(SurefirePlugin.java:656)
> > at
> >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:645)
> > at
> >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
> > at
> >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> > at
> >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> > at
> >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> > ... 19 more
> > Caused by:
> > org.apache.maven.surefire.booter.SurefireBooterForkException: Error
> > occurred in starting fork, check output in log
> > at
> >
> >
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:281)
> > at
> >
> >
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:113)
> > at
> >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:199)
> > at
> >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAllProviders(AbstractSurefireMojo.java:176)
> > at
> >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:135)
> > ... 22 more
> > [ERROR]
> > [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/MojoExecutionException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with
> > the command
> > [ERROR] mvn <goals> -rf :mahout-core
> >
> > What can I do? How can I solve this problem? 2 days I try to
> solve
> > this but I don't can solve it. :(
> >
> > They say that I should check the log. I can't find it. Where is
> it?
> > Do you or someone else know it?
> >
> > I really hope someone can help me with this problem...
> >
> > Greetings, Clodan
> >
> > Von: paritosh ranjan <pa...@gmail.com>
> > An: user@mahout.apache.org, "Majin_Clodan@t-online.de"
> > <Ma...@t-online.de>
> > Betreff: Re: mahout-error in virtual machine
> > Datum: Tue, 09 Oct 2012 21:25:13 +0200
> >
> > What is the operating system on VM?
> > Which action resulted in this error?
> >
> > Can you provide some more information. Its difficult to say anything
> > with
> > this much info.
> >
> > On Tue, Oct 9, 2012 at 8:33 PM, Majin_Clodan@t-online.de [1] <
> > Majin_Clodan@t-online.de [2]> wrote:
> >
> > > Hello guys.
> > >
> > > I have a small question. I installed successfully mahout
> > on my
> > > system. Then I installed the virtual machine Vagrant on which I
> > > wanted install mahout as well. By the installation I get the
> > > following error:
> > >
> > > Failed to execute goal
> > > org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > (default-test) on project mahout-core: Error occurred in starting
> > > fork, check output in log -> [Help 1] Can anyone help me with
> > this
> > > error? Just in the virtual machine I get this error. :(
> > Greetings,
> > > Clodan
> >
> > Links:
> > ------
> > [1] javascript:void(0)
> > [2] javascript:void(0)
> >
>
Re: mahout-error in virtual machine
Posted by paritosh ranjan <pa...@gmail.com>.
You are getting test errors.
Results :
Tests in error:
testRetailDataMinSup100(org.
>
> apache.mahout.fpm.pfpgrowth.PFPGrowthRetailDataTest):
> Error while running command to get file permissions :
> java.io.IOException: Cannot run program "/bin/ls":
> java.io.IOException: error=12, Cannot allocate memory(..)
You are facing memory issues, as per the error.
See this :
http://lists.opencastproject.org/pipermail/matterhorn-users/2010-August/000007.html
.
I think its a system configuration issue and nothing related to Mahout.
On Wed, Oct 10, 2012 at 12:17 PM, Majin_Clodan@t-online.de <
Majin_Clodan@t-online.de> wrote:
> Hello,
>
> the OS in my VM is Ubuntu. On my system I have Ubuntu as well with
> the following properties:
>
> Distributor ID: Ubuntu
> Description: Ubuntu 12.04 LTS
> Release: 12.04
> Codename: precise
>
> I made "svn co http://svn.apache.org/repos/asf/mahout/trunk" to
> get
> the subversion of mahout. Then in the directory "trunk" I made "mvn
> install". On my system it worked but in the VM I get the error:
>
> Failed to execute goal
> > org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > (default-test) on project mahout-core: Error occurred in starting
> > fork, check output in log -> [Help 1]
>
> I executed this command as root as well but the error appeared
> again.
>
>
> Here is the last part of the output:
>
> ...
>
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 0.102
> sec
> Running org.apache.mahout.driver.MahoutDriverTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.338
> sec
> Running
> org.apache.mahout.fpm.pfpgrowth.fpgrowth.FrequentPatternMaxHeapTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.183
> sec
> Running org.apache.mahout.fpm.pfpgrowth.FPGrowthTest
> Killed
>
> Results :
>
> Tests run: 307, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Mahout ..................................... SUCCESS
> [2.592s]
> [INFO] Mahout Build Tools ................................ SUCCESS
> [2.425s]
> [INFO] Mahout Math ....................................... SUCCESS
> [1:14.858s]
> [INFO] Mahout Core ....................................... FAILURE
> [7:48.686s]
> [INFO] Mahout Integration ................................ SKIPPED
> [INFO] Mahout Examples ................................... SKIPPED
> [INFO] Mahout Release Package ............................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 9:09.908s
> [INFO] Finished at: Wed Oct 10 06:22:26 UTC 2012
> [INFO] Final Memory: 17M/75M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> (default-test) on project mahout-core: Error occurred in starting
> fork, check output in log -> [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/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with
> the command
> [ERROR] mvn <goals> -rf :mahout-core
>
> With the command "mvn clean install" I get the same error. :(
>
> when I execute "mvn install -X" for the debug-mode I get the
> following:
>
> ...
>
> Running
> org.apache.mahout.math.hadoop.similarity.cooccurrence.RowSimilarityJobTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.487
> sec
> Running
> org.apache.mahout.math.hadoop.similarity.TestVectorDistanceSimilarityJob
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.093
> sec
> Running org.apache.mahout.math.hadoop.TestDistributedRowMatrix
> Killed
>
> Results :
>
> Tests in error:
>
>
> testRetailDataMinSup100(org.apache.mahout.fpm.pfpgrowth.PFPGrowthRetailDataTest):
> Error while running command to get file permissions :
> java.io.IOException: Cannot run program "/bin/ls":
> java.io.IOException: error=12, Cannot allocate memory(..)
>
>
> testRetailDataMinSup100InSteps(org.apache.mahout.fpm.pfpgrowth.PFPGrowthRetailDataTest):
> Error while running command to get file permissions :
> java.io.IOException: Cannot run program "/bin/ls":
> java.io.IOException: error=12, Cannot allocate memory(..)
>
> testStartParallelFPGrowth(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest):
> Error while running command to get file permissions :
> java.io.IOException: Cannot run program "/bin/ls":
> java.io.IOException: error=12, Cannot allocate memory(..)
>
>
> testStartParallelFPGrowthInSteps(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest):
> Error while running command to get file permissions :
> java.io.IOException: Cannot run program "/bin/ls":
> java.io.IOException: error=12, Cannot allocate memory(..)
>
>
> testSolver(org.apache.mahout.math.hadoop.solver.TestDistributedConjugateGradientSolverCLI):
> Error while running command to get file permissions :
> java.io.IOException: Cannot run program "/bin/ls":
> java.io.IOException: error=12, Cannot allocate memory(..)
>
>
> testSolver(org.apache.mahout.math.hadoop.solver.TestDistributedConjugateGradientSolver):
> Error while running command to get file permissions :
> java.io.IOException: Cannot run program "/bin/ls":
> java.io.IOException: error=12, Cannot allocate memory(..)
>
>
> runPCATest1(org.apache.mahout.math.hadoop.stochasticsvd.LocalSSVDPCADenseTest):
> Error while running command to get file permissions :
> java.io.IOException: Cannot run program "/bin/ls":
> java.io.IOException: error=12, Cannot allocate memory(..)
>
>
> testSSVDSolverPowerIterations1(org.apache.mahout.math.hadoop.stochasticsvd.LocalSSVDSolverSparseSequentialTest):
> Error while running command to get file permissions :
> java.io.IOException: Cannot run program "/bin/ls":
> java.io.IOException: error=12, Cannot allocate memory(..)
>
>
> testDistributedLanczosSolverCLI(org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI):
> Error while running command to get file permissions :
> java.io.IOException: Cannot run program "/bin/ls":
> java.io.IOException: error=12, Cannot allocate memory(..)
>
>
> testDistributedLanczosSolverEVJCLI(org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI):
> Error while running command to get file permissions :
> java.io.IOException: Cannot run program "/bin/ls":
> java.io.IOException: error=12, Cannot allocate memory(..)
>
> Tests run: 388, Failures: 0, Errors: 10, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Mahout ..................................... SUCCESS
> [1.805s]
> [INFO] Mahout Build Tools ................................ SUCCESS
> [1.908s]
> [INFO] Mahout Math ....................................... SUCCESS
> [1:00.404s]
> [INFO] Mahout Core ....................................... FAILURE
> [18:18.763s]
> [INFO] Mahout Integration ................................ SKIPPED
> [INFO] Mahout Examples ................................... SKIPPED
> [INFO] Mahout Release Package ............................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 19:24.400s
> [INFO] Finished at: Wed Oct 10 06:43:10 UTC 2012
> [INFO] Final Memory: 17M/54M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> (default-test) on project mahout-core: Error occurred in starting
> fork, check output in log -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> (default-test) on project mahout-core: Error occurred in starting
> fork, check output in log
> at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
> at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at
>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
>
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at
>
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> at
>
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error
> occurred in starting fork, check output in log
> at
>
> org.apache.maven.plugin.surefire.SurefirePlugin.assertNoException(SurefirePlugin.java:656)
> at
>
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:645)
> at
>
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
> at
>
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> at
>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 19 more
> Caused by:
> org.apache.maven.surefire.booter.SurefireBooterForkException: Error
> occurred in starting fork, check output in log
> at
>
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:281)
> at
>
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:113)
> at
>
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:199)
> at
>
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAllProviders(AbstractSurefireMojo.java:176)
> at
>
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:135)
> ... 22 more
> [ERROR]
> [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/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with
> the command
> [ERROR] mvn <goals> -rf :mahout-core
>
> What can I do? How can I solve this problem? 2 days I try to solve
> this but I don't can solve it. :(
>
> They say that I should check the log. I can't find it. Where is it?
> Do you or someone else know it?
>
> I really hope someone can help me with this problem...
>
> Greetings, Clodan
>
> Von: paritosh ranjan <pa...@gmail.com>
> An: user@mahout.apache.org, "Majin_Clodan@t-online.de"
> <Ma...@t-online.de>
> Betreff: Re: mahout-error in virtual machine
> Datum: Tue, 09 Oct 2012 21:25:13 +0200
>
> What is the operating system on VM?
> Which action resulted in this error?
>
> Can you provide some more information. Its difficult to say anything
> with
> this much info.
>
> On Tue, Oct 9, 2012 at 8:33 PM, Majin_Clodan@t-online.de [1] <
> Majin_Clodan@t-online.de [2]> wrote:
>
> > Hello guys.
> >
> > I have a small question. I installed successfully mahout
> on my
> > system. Then I installed the virtual machine Vagrant on which I
> > wanted install mahout as well. By the installation I get the
> > following error:
> >
> > Failed to execute goal
> > org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > (default-test) on project mahout-core: Error occurred in starting
> > fork, check output in log -> [Help 1] Can anyone help me with
> this
> > error? Just in the virtual machine I get this error. :(
> Greetings,
> > Clodan
>
> Links:
> ------
> [1] javascript:void(0)
> [2] javascript:void(0)
>
Re: mahout-error in virtual machine
Posted by "Majin_Clodan@t-online.de" <Ma...@t-online.de>.
Hello,
the OS in my VM is Ubuntu. On my system I have Ubuntu as well with
the following properties:
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
I made "svn co http://svn.apache.org/repos/asf/mahout/trunk" to get
the subversion of mahout. Then in the directory "trunk" I made "mvn
install". On my system it worked but in the VM I get the error:
Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> (default-test) on project mahout-core: Error occurred in starting
> fork, check output in log -> [Help 1]
I executed this command as root as well but the error appeared again.
Here is the last part of the output:
...
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102
sec
Running org.apache.mahout.driver.MahoutDriverTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.338
sec
Running
org.apache.mahout.fpm.pfpgrowth.fpgrowth.FrequentPatternMaxHeapTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.183
sec
Running org.apache.mahout.fpm.pfpgrowth.FPGrowthTest
Killed
Results :
Tests run: 307, Failures: 0, Errors: 0, Skipped: 0
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Mahout ..................................... SUCCESS
[2.592s]
[INFO] Mahout Build Tools ................................ SUCCESS
[2.425s]
[INFO] Mahout Math ....................................... SUCCESS
[1:14.858s]
[INFO] Mahout Core ....................................... FAILURE
[7:48.686s]
[INFO] Mahout Integration ................................ SKIPPED
[INFO] Mahout Examples ................................... SKIPPED
[INFO] Mahout Release Package ............................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9:09.908s
[INFO] Finished at: Wed Oct 10 06:22:26 UTC 2012
[INFO] Final Memory: 17M/75M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.12:test
(default-test) on project mahout-core: Error occurred in starting
fork, check output in log -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with
the command
[ERROR] mvn <goals> -rf :mahout-core
With the command "mvn clean install" I get the same error. :(
when I execute "mvn install -X" for the debug-mode I get the
following:
...
Running
org.apache.mahout.math.hadoop.similarity.cooccurrence.RowSimilarityJobTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.487
sec
Running
org.apache.mahout.math.hadoop.similarity.TestVectorDistanceSimilarityJob
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.093
sec
Running org.apache.mahout.math.hadoop.TestDistributedRowMatrix
Killed
Results :
Tests in error:
testRetailDataMinSup100(org.apache.mahout.fpm.pfpgrowth.PFPGrowthRetailDataTest):
Error while running command to get file permissions :
java.io.IOException: Cannot run program "/bin/ls":
java.io.IOException: error=12, Cannot allocate memory(..)
testRetailDataMinSup100InSteps(org.apache.mahout.fpm.pfpgrowth.PFPGrowthRetailDataTest):
Error while running command to get file permissions :
java.io.IOException: Cannot run program "/bin/ls":
java.io.IOException: error=12, Cannot allocate memory(..)
testStartParallelFPGrowth(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest):
Error while running command to get file permissions :
java.io.IOException: Cannot run program "/bin/ls":
java.io.IOException: error=12, Cannot allocate memory(..)
testStartParallelFPGrowthInSteps(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest):
Error while running command to get file permissions :
java.io.IOException: Cannot run program "/bin/ls":
java.io.IOException: error=12, Cannot allocate memory(..)
testSolver(org.apache.mahout.math.hadoop.solver.TestDistributedConjugateGradientSolverCLI):
Error while running command to get file permissions :
java.io.IOException: Cannot run program "/bin/ls":
java.io.IOException: error=12, Cannot allocate memory(..)
testSolver(org.apache.mahout.math.hadoop.solver.TestDistributedConjugateGradientSolver):
Error while running command to get file permissions :
java.io.IOException: Cannot run program "/bin/ls":
java.io.IOException: error=12, Cannot allocate memory(..)
runPCATest1(org.apache.mahout.math.hadoop.stochasticsvd.LocalSSVDPCADenseTest):
Error while running command to get file permissions :
java.io.IOException: Cannot run program "/bin/ls":
java.io.IOException: error=12, Cannot allocate memory(..)
testSSVDSolverPowerIterations1(org.apache.mahout.math.hadoop.stochasticsvd.LocalSSVDSolverSparseSequentialTest):
Error while running command to get file permissions :
java.io.IOException: Cannot run program "/bin/ls":
java.io.IOException: error=12, Cannot allocate memory(..)
testDistributedLanczosSolverCLI(org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI):
Error while running command to get file permissions :
java.io.IOException: Cannot run program "/bin/ls":
java.io.IOException: error=12, Cannot allocate memory(..)
testDistributedLanczosSolverEVJCLI(org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI):
Error while running command to get file permissions :
java.io.IOException: Cannot run program "/bin/ls":
java.io.IOException: error=12, Cannot allocate memory(..)
Tests run: 388, Failures: 0, Errors: 10, Skipped: 0
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Mahout ..................................... SUCCESS
[1.805s]
[INFO] Mahout Build Tools ................................ SUCCESS
[1.908s]
[INFO] Mahout Math ....................................... SUCCESS
[1:00.404s]
[INFO] Mahout Core ....................................... FAILURE
[18:18.763s]
[INFO] Mahout Integration ................................ SKIPPED
[INFO] Mahout Examples ................................... SKIPPED
[INFO] Mahout Release Package ............................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 19:24.400s
[INFO] Finished at: Wed Oct 10 06:43:10 UTC 2012
[INFO] Final Memory: 17M/54M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.12:test
(default-test) on project mahout-core: Error occurred in starting
fork, check output in log -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test
(default-test) on project mahout-core: Error occurred in starting
fork, check output in log
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error
occurred in starting fork, check output in log
at
org.apache.maven.plugin.surefire.SurefirePlugin.assertNoException(SurefirePlugin.java:656)
at
org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:645)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by:
org.apache.maven.surefire.booter.SurefireBooterForkException: Error
occurred in starting fork, check output in log
at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:281)
at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:113)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:199)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAllProviders(AbstractSurefireMojo.java:176)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:135)
... 22 more
[ERROR]
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with
the command
[ERROR] mvn <goals> -rf :mahout-core
What can I do? How can I solve this problem? 2 days I try to solve
this but I don't can solve it. :(
They say that I should check the log. I can't find it. Where is it?
Do you or someone else know it?
I really hope someone can help me with this problem...
Greetings, Clodan
Von: paritosh ranjan <pa...@gmail.com>
An: user@mahout.apache.org, "Majin_Clodan@t-online.de"
<Ma...@t-online.de>
Betreff: Re: mahout-error in virtual machine
Datum: Tue, 09 Oct 2012 21:25:13 +0200
What is the operating system on VM?
Which action resulted in this error?
Can you provide some more information. Its difficult to say anything
with
this much info.
On Tue, Oct 9, 2012 at 8:33 PM, Majin_Clodan@t-online.de [1] <
Majin_Clodan@t-online.de [2]> wrote:
> Hello guys.
>
> I have a small question. I installed successfully mahout
on my
> system. Then I installed the virtual machine Vagrant on which I
> wanted install mahout as well. By the installation I get the
> following error:
>
> Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> (default-test) on project mahout-core: Error occurred in starting
> fork, check output in log -> [Help 1] Can anyone help me with
this
> error? Just in the virtual machine I get this error. :(
Greetings,
> Clodan
Links:
------
[1] javascript:void(0)
[2] javascript:void(0)
Re: mahout-error in virtual machine
Posted by paritosh ranjan <pa...@gmail.com>.
What is the operating system on VM?
Which action resulted in this error?
Can you provide some more information. Its difficult to say anything with
this much info.
On Tue, Oct 9, 2012 at 8:33 PM, Majin_Clodan@t-online.de <
Majin_Clodan@t-online.de> wrote:
> Hello guys.
>
> I have a small question. I installed successfully mahout on my
> system. Then I installed the virtual machine Vagrant on which I
> wanted install mahout as well. By the installation I get the
> following error:
>
> Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> (default-test) on project mahout-core: Error occurred in starting
> fork, check output in log -> [Help 1] Can anyone help me with this
> error? Just in the virtual machine I get this error. :( Greetings,
> Clodan