You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Eleftherios Spyromitros <es...@csd.auth.gr> on 2010/04/01 18:48:03 UTC

Installation Help

Hi all,

 

I want to build a recommendation engine and think that Mahout is perfectly
suitable for this purpose.

The problem is that I am really new to mahout and can't even install it.

I am under windows vista and I have correctly installed maven. I use the
command mvn install

but the build fails in Mahout core because of test failures. (Failures:20,
Errors: 32)

I used both the trunk version and mahout 0.3 with the same problems.

 

Please give me a clue, I am trying for almost 2 days now..

 

Thanks in advance,

Lefteris

 

 

--

Eleftherios Spyromitros, M.Sc. Student of

Informatics Aristotle University of Thessaloniki, GREECE

espyromi@csd.auth.gr

 


Re: Installation Help

Posted by Ted Dunning <te...@gmail.com>.
You sent a list of which tests failed, but you should include detailed
information on the failures from this file.

On Thu, Apr 1, 2010 at 10:20 AM, Eleftherios Spyromitros <
espyromi@csd.auth.gr> wrote:

> Please refer to
> D:\Users\lefteris\workspace\mahout\core\target\surefire-reports
> for the individual test results.
>

RE: Installation Help

Posted by Eleftherios Spyromitros <es...@csd.auth.gr>.
Thanks for your immediate reply,

I just set M MAVEN_OPTS=-Xmx512m but I still get the same error messages:

Running org.apache.mahout.df.mapreduce.partial.TreeIDTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.25 sec
Running org.apache.mahout.cf.taste.impl.common.RefreshHelperTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.mahout.cf.taste.impl.recommender.slopeone.MemoryDiffStorageTe
st
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.mahout.cf.taste.impl.common.RunningAverageAndStdDevTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.common.distance.CosineDistanceMeasureTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.mahout.fpm.pfpgrowth.fpgrowth.FrequentPatternMaxHeapTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec
Running org.apache.mahout.clustering.lda.TestMapReduce
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec
Running org.apache.mahout.cf.taste.impl.eval.GenericRecommenderIRStatsEvaluatorI
mplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.mahout.clustering.kmeans.TestKmeansClustering
Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.143 sec <<< FA
ILURE!
Running org.apache.mahout.cf.taste.impl.recommender.TreeClusteringRecommenderTes
t
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest
Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 0.126 sec <<< FA
ILURE!
Running org.apache.mahout.common.IntPairWritableTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.apache.mahout.cf.taste.impl.transforms.CaseAmplificationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.df.data.DatasetTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.mahout.cf.taste.impl.similarity.AveragingPreferenceInferrerTe
st
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.mahout.df.data.DataTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.104 sec
Running org.apache.mahout.cf.taste.impl.common.InvertedRunningAverageTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.cf.taste.impl.similarity.EuclideanDistanceSimilarityTe
st
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.apache.mahout.cf.taste.impl.eval.AverageAbsoluteDifferenceRecommende
rEvaluatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.apache.mahout.cf.taste.impl.recommender.GenericItemBasedRecommenderT
est
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.apache.mahout.clustering.canopy.TestCanopyCreation
Tests run: 17, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.178 sec <<< F
AILURE!
Running org.apache.mahout.df.mapred.partial.Step2MapperTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.02 sec <<< FAI
LURE!
Running org.apache.mahout.clustering.meanshift.TestMeanShift
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.168 sec <<< FA
ILURE!
Running org.apache.mahout.classifier.bayes.CBayesClassifierTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.df.mapreduce.partial.InterResultsTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.019 sec <<< FA
ILURE!
Running org.apache.mahout.common.iterator.TestFixedSizeSampler
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.mahout.df.split.DefaultIgSplitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.mahout.ga.watchmaker.EvalMapperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 sec
Running org.apache.mahout.classifier.discriminative.WinnowTrainerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.mahout.df.split.OptIgSplitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.165 sec
Running org.apache.mahout.df.mapreduce.partial.Step2MapperTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.011 sec <<< FA
ILURE!
Running org.apache.mahout.common.iterator.IteratorUtilsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.cf.taste.impl.recommender.NullRescorerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.mahout.df.mapred.partial.Step0JobTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
Running org.apache.mahout.cf.taste.impl.common.BitSetTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.df.data.DescriptorUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.mahout.df.builder.DefaultTreeBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.cf.taste.impl.model.GenericItemPreferenceArrayTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.cf.taste.impl.common.SamplingLongPrimitiveIteratorTest

Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.mahout.df.mapreduce.inmem.InMemInputSplitTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.mahout.df.mapreduce.partial.PartitionBugTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec
Running org.apache.mahout.df.data.DataConverterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.mahout.cf.taste.impl.LoadTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.107 sec
Running org.apache.mahout.common.StringUtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.mahout.df.mapred.partial.PartialBuilderTest
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.015 sec <<< FA
ILURE!
Running org.apache.mahout.common.distance.TestEuclideanDistanceMeasure
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.apache.mahout.cf.taste.impl.recommender.GenericUserBasedRecommenderT
est
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.mahout.clustering.TestPrintableInterface
Tests run: 22, Failures: 19, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec <<<
FAILURE!
Running org.apache.mahout.classifier.discriminative.PerceptronTrainerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.df.mapred.inmem.InMemInputSplitTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.ga.watchmaker.MahoutEvaluatorTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.024 sec <<< FA
ILURE!
Running org.apache.mahout.fpm.pfpgrowth.FPGrowthTest
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.018 sec <<< FA
ILURE!
Running org.apache.mahout.clustering.dirichlet.TestMapReduce
Tests run: 11, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.176 sec <<< F
AILURE!
Running org.apache.mahout.common.distance.TestWeightedManhattanDistanceMeasure
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.mahout.common.iterator.TestStableFixedSizeSampler
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.mahout.common.iterator.EmptyIteratorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.mahout.cf.taste.impl.similarity.SpearmanCorrelationSimilarity
Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.mahout.cf.taste.impl.similarity.TanimotoCoefficientSimilarity
Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.mahout.cf.taste.impl.recommender.CachingRecommenderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.mahout.ga.watchmaker.STFitnessEvaluatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.mahout.classifier.discriminative.LinearModelTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.cf.taste.impl.common.CacheTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.854 sec
Running org.apache.mahout.cf.taste.impl.recommender.ItemAverageRecommenderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.mahout.common.distance.TestManhattanDistanceMeasure
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.apache.mahout.cf.taste.impl.transforms.ZScoreTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.mahout.cf.taste.impl.similarity.GenericItemSimilarityTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.mahout.cf.taste.common.CommonTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.common.distance.TestTanimotoDistanceMeasure
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.apache.mahout.df.mapreduce.partial.Step1MapperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.apache.mahout.cf.taste.impl.common.LongPrimitiveArrayIteratorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.clustering.fuzzykmeans.TestFuzzyKmeansClustering
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.294 sec <<< FA
ILURE!
Running org.apache.mahout.cf.taste.impl.recommender.ItemUserAverageRecommenderTe
st
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.mahout.cf.taste.impl.common.FastIDSetTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.24 sec
Running org.apache.mahout.math.hadoop.TestDistributedRowMatrix
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.054 sec <<< FA
ILURE!
Running org.apache.mahout.cf.taste.impl.model.file.FileDataModelTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.025 sec
Running org.apache.mahout.cf.taste.impl.neighborhood.ThresholdNeighborhoodTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.cf.taste.impl.common.FastMapTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.357 sec
Running org.apache.mahout.df.mapreduce.partial.Step0JobTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.417 sec
Running org.apache.mahout.df.mapred.inmem.InMemInputFormatTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.mahout.classifier.bayes.BayesClassifierSelfTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.13 sec <<< FAI
LURE!
Running org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolver
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.523 sec <<< FA
ILURE!
Running org.apache.mahout.cf.taste.impl.similarity.LogLikelihoodSimilarityTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.mahout.df.data.DataLoaderTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec

Results :

Failed tests:
  testStartGroupingItems(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest)
  testDirichletNormalModel(org.apache.mahout.clustering.TestPrintableInterface)
  testDirichletSampledNormalModel(org.apache.mahout.clustering.TestPrintableInte
rface)
  testDirichletASNormalModel(org.apache.mahout.clustering.TestPrintableInterface
)
  testDirichletL1Model(org.apache.mahout.clustering.TestPrintableInterface)
  testDirichletNormalModelClusterAsFormatString(org.apache.mahout.clustering.Tes
tPrintableInterface)
  testDirichletAsymmetricSampledNormalModelClusterAsFormatString(org.apache.maho
ut.clustering.TestPrintableInterface)
  testDirichletL1ModelClusterAsFormatString(org.apache.mahout.clustering.TestPri
ntableInterface)
  testCanopyAsFormatString(org.apache.mahout.clustering.TestPrintableInterface)
  testCanopyAsFormatStringSparse(org.apache.mahout.clustering.TestPrintableInter
face)
  testCanopyAsFormatStringWithBindings(org.apache.mahout.clustering.TestPrintabl
eInterface)
  testCanopyAsFormatStringSparseWithBindings(org.apache.mahout.clustering.TestPr
intableInterface)
  testClusterAsFormatString(org.apache.mahout.clustering.TestPrintableInterface)

  testClusterAsFormatStringSparse(org.apache.mahout.clustering.TestPrintableInte
rface)
  testClusterAsFormatStringWithBindings(org.apache.mahout.clustering.TestPrintab
leInterface)
  testClusterAsFormatStringSparseWithBindings(org.apache.mahout.clustering.TestP
rintableInterface)
  testMSCanopyAsFormatString(org.apache.mahout.clustering.TestPrintableInterface
)
  testMSCanopyAsFormatStringSparse(org.apache.mahout.clustering.TestPrintableInt
erface)
  testMSCanopyAsFormatStringWithBindings(org.apache.mahout.clustering.TestPrinta
bleInterface)
  testMSCanopyAsFormatStringSparseWithBindings(org.apache.mahout.clustering.Test
PrintableInterface)

Tests in error:
  testRandomSeedGenerator(org.apache.mahout.clustering.kmeans.TestRandomSeedGene
rator)
  testProcessOutput(org.apache.mahout.df.mapreduce.partial.PartialBuilderTest)
  testKMeansMRJob(org.apache.mahout.clustering.kmeans.TestKmeansClustering)
  testKMeansWithCanopyClusterInput(org.apache.mahout.clustering.kmeans.TestKmean
sClustering)
  testStartParallelCounting(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest)
  testStartParallelFPGrowth(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest)
  testCanopyGenManhattanMR(org.apache.mahout.clustering.canopy.TestCanopyCreatio
n)
  testCanopyGenEuclideanMR(org.apache.mahout.clustering.canopy.TestCanopyCreatio
n)
  testClusteringManhattanMR(org.apache.mahout.clustering.canopy.TestCanopyCreati
on)
  testClusteringEuclideanMR(org.apache.mahout.clustering.canopy.TestCanopyCreati
on)
  testUserDefinedDistanceMeasure(org.apache.mahout.clustering.canopy.TestCanopyC
reation)
  testMapper(org.apache.mahout.df.mapred.partial.Step2MapperTest)
  testCanopyEuclideanMRJob(org.apache.mahout.clustering.meanshift.TestMeanShift)

  testStore(org.apache.mahout.df.mapreduce.partial.InterResultsTest)
  testLoad(org.apache.mahout.df.mapreduce.partial.InterResultsTest)
  testMapper(org.apache.mahout.df.mapreduce.partial.Step2MapperTest)
  testProcessOutput(org.apache.mahout.df.mapred.partial.PartialBuilderTest)
  testEvaluate(org.apache.mahout.ga.watchmaker.MahoutEvaluatorTest)
  testStoreLoadPopulation(org.apache.mahout.ga.watchmaker.MahoutEvaluatorTest)
  testMaxHeapFPGrowth(org.apache.mahout.fpm.pfpgrowth.FPGrowthTest)
  testDriverMRIterations(org.apache.mahout.clustering.dirichlet.TestMapReduce)
  testDriverMnRIterations(org.apache.mahout.clustering.dirichlet.TestMapReduce)
  testDriverMnRnIterations(org.apache.mahout.clustering.dirichlet.TestMapReduce)

  testDriverMnRnIterationsAsymmetric(org.apache.mahout.clustering.dirichlet.Test
MapReduce)
  testFuzzyKMeansMRJob(org.apache.mahout.clustering.fuzzykmeans.TestFuzzyKmeansC
lustering)
  testTranspose(org.apache.mahout.math.hadoop.TestDistributedRowMatrix)
  testMatrixTimesVector(org.apache.mahout.math.hadoop.TestDistributedRowMatrix)
  testMatrixTimesSquaredVector(org.apache.mahout.math.hadoop.TestDistributedRowM
atrix)
  testMatrixTimesMatrix(org.apache.mahout.math.hadoop.TestDistributedRowMatrix)
  testSelfTestBayes(org.apache.mahout.classifier.bayes.BayesClassifierSelfTest)
  testSelfTestCBayes(org.apache.mahout.classifier.bayes.BayesClassifierSelfTest)

  testDistributedLanczosSolver(org.apache.mahout.math.hadoop.decomposer.TestDist
ributedLanczosSolver)

Tests run: 396, Failures: 20, Errors: 32, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to D:\Users\lefteris\workspace\mahout\core\target\surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 23 seconds
[INFO] Finished at: Thu Apr 01 20:17:07 EEST 2010
[INFO] Final Memory: 41M/98M
[INFO] ------------------------------------------------------------------------
D:\Users\lefteris\workspace\mahout>

> 
> Any more information? at least we'd need to see some more error
> messages.
> 
> I have a first guess though, did you set MAVEN_OPTS=-Xmx512m ?
> 
> On Thu, Apr 1, 2010 at 5:48 PM, Eleftherios Spyromitros
> <es...@csd.auth.gr> wrote:
> > Hi all,
> >
> >
> >
> > I want to build a recommendation engine and think that Mahout is
> perfectly
> > suitable for this purpose.
> >
> > The problem is that I am really new to mahout and can't even install
> it.
> >
> > I am under windows vista and I have correctly installed maven. I use
> the
> > command mvn install
> >
> > but the build fails in Mahout core because of test failures.
> (Failures:20,
> > Errors: 32)
> >
> > I used both the trunk version and mahout 0.3 with the same problems.
> >
> >
> >
> > Please give me a clue, I am trying for almost 2 days now..
> >
> >
> >
> > Thanks in advance,
> >
> > Lefteris
> >
> >
> >
> >
> >
> > --
> >
> > Eleftherios Spyromitros, M.Sc. Student of
> >
> > Informatics Aristotle University of Thessaloniki, GREECE
> >
> > espyromi@csd.auth.gr
> >
> >
> >
> >


Re: Installation Help

Posted by Ted Dunning <te...@gmail.com>.
It works, but there aren't any production users that I have heard of and all
of the non-production users seem to use cygwin.


On Thu, Apr 1, 2010 at 11:04 AM, Eleftherios Spyromitros <
espyromi@csd.auth.gr> wrote:

> I thought that mahout was working on windows..
> Does no one else work with mahout on windows, or are Vista that cause the
> problem?
>
> Anyway, I'll try the solution you propose. Hope it works!
>

Re: Installation Help

Posted by Sean Owen <sr...@gmail.com>.
It's not Mahout, it's Hadoop really. Some of Mahout does not need
Hadoop. In fact most of the recommender engine code is not based on
Hadoop at the moment.

I don't know of anyone using Mahout with Windows though, no. I think
all the devs are Mac / Linux users.

If you get into Cygwin, pretty soon you will just buy a Mac for development :)

On Thu, Apr 1, 2010 at 7:04 PM, Eleftherios Spyromitros
<es...@csd.auth.gr> wrote:
> Thanks again for the help,
>
> I thought that mahout was working on windows..
> Does no one else work with mahout on windows, or are Vista that cause the problem?
>
> Anyway, I'll try the solution you propose. Hope it works!

Re: Installation Help

Posted by Sean Owen <sr...@gmail.com>.
Yes of course, the build isn't failing, it's the tests that require Hadoop.

It's entirely legit to proceed this way if you don't actually need
Hadoop-related parts.

On Thu, Apr 1, 2010 at 8:47 PM, Jonathan Worthington <jo...@jnthn.net> wrote:
> Eleftherios Spyromitros wrote:
>>
>> Does no one else work with mahout on windows, or are Vista that cause the
>> problem?
>>
>
> I did get it to work, but I had to:
>
> mvn install -DskipTests
>
> Once built, it seems to actually work fine. Or at least, the bits I cared
> about (which was the recommendation engine). Of course, this is a workaround
> rather than a solution. ;-) It may be the issue is something to do with the
> testing rather than anything more deeply wrong, though.
>
> Note I did this without cygwin (which I prefer to avoid...) and just at the
> normal command shell.
>
> Hope this helps,
>
> Jonathan
>
>

Re: Installation Help

Posted by Jonathan Worthington <jo...@jnthn.net>.
Eleftherios Spyromitros wrote:
> Does no one else work with mahout on windows, or are Vista that cause the problem?
>   
I did get it to work, but I had to:

mvn install -DskipTests

Once built, it seems to actually work fine. Or at least, the bits I 
cared about (which was the recommendation engine). Of course, this is a 
workaround rather than a solution. ;-) It may be the issue is something 
to do with the testing rather than anything more deeply wrong, though.

Note I did this without cygwin (which I prefer to avoid...) and just at 
the normal command shell.

Hope this helps,

Jonathan


RE: Installation Help

Posted by Eleftherios Spyromitros <es...@csd.auth.gr>.
Thanks again for the help,

I thought that mahout was working on windows..
Does no one else work with mahout on windows, or are Vista that cause the problem?

Anyway, I'll try the solution you propose. Hope it works!

Best,
-Lef

> 
> A-ha. It's trying to execute a command called chmod that is a standard
> Unix/Linux/OS X command but not present on Windows.
> 
> I am not sure why Hadoop tries this on Windows though... surely it
> supports Windows? I somehow think we've seen this before and I forget
> what the story was.
> 
> It's not something to do with Mahout unfortunately.
> 
> One possible solution is to install Cygwin, which gives you a little
> Unix-like environment on Windows. It has a chmod binary. Running via
> Cygwin might work.
> 
> On Thu, Apr 1, 2010 at 6:46 PM, Eleftherios Spyromitros
> <es...@csd.auth.gr> wrote:
> > OK guys you are being very helpful. Here is an error file
> > (I think that most if not all error files complain about chmod..
> > does this have to do with admin privilages??):
> >
> > ---------------------------------------------------------------------
> ----------
> > Test set: org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest
> > ---------------------------------------------------------------------
> ----------
> > Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 0.14
> sec <<< FAILURE!
> >
> testStartParallelCounting(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest
> )  Time elapsed: 0.063 sec  <<< ERROR!
> > java.io.IOException: Cannot run program "chmod": CreateProcess
> error=2, The system cannot find the file specified
> >        at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
> >        at org.apache.hadoop.util.Shell.runCommand(Shell.java:149)
> >        at org.apache.hadoop.util.Shell.run(Shell.java:134)
> >        at
> org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:28
> 6)
> >        at org.apache.hadoop.util.Shell.execCommand(Shell.java:354)
> >        at org.apache.hadoop.util.Shell.execCommand(Shell.java:337)
> >        at
> org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.
> java:481)
> >        at
> org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSyste
> m.java:473)
> >        at
> org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.ja
> va:280)
> >        at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:266)
> >        at
> org.apache.hadoop.mapred.JobClient.configureCommandLineOptions(JobClien
> t.java:573)
> >        at
> org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:761
> )
> >        at org.apache.hadoop.mapreduce.Job.submit(Job.java:432)
> >        at
> org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:447)
> >        at
> org.apache.mahout.fpm.pfpgrowth.PFPGrowth.startParallelCounting(PFPGrow
> th.java:318)
> >        at
> org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest.testStartParallelCounting
> (PFPGrowthTest.java:89)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> va:39)
> >        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> rImpl.java:25)
> >        at java.lang.reflect.Method.invoke(Method.java:597)
> >        at junit.framework.TestCase.runTest(TestCase.java:168)
> >        at junit.framework.TestCase.runBare(TestCase.java:134)
> >        at junit.framework.TestResult$1.protect(TestResult.java:110)
> >        at
> junit.framework.TestResult.runProtected(TestResult.java:128)
> >        at junit.framework.TestResult.run(TestResult.java:113)
> >        at junit.framework.TestCase.run(TestCase.java:124)
> >        at junit.framework.TestSuite.runTest(TestSuite.java:232)
> >        at junit.framework.TestSuite.run(TestSuite.java:227)
> >        at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.ja
> va:83)
> >        at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.ja
> va:59)
> >        at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestS
> et(AbstractDirectoryTestSuite.java:115)
> >        at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Abst
> ractDirectoryTestSuite.java:102)
> >        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> va:39)
> >        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> rImpl.java:25)
> >        at java.lang.reflect.Method.invoke(Method.java:597)
> >        at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Sure
> fireBooter.java:350)
> >        at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.jav
> a:1021)
> > Caused by: java.io.IOException: CreateProcess error=2, The system
> cannot find the file specified
> >        at java.lang.ProcessImpl.create(Native Method)
> >        at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
> >        at java.lang.ProcessImpl.start(ProcessImpl.java:30)
> >        at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
> >        ... 38 more


Re: Installation Help

Posted by Ken Krugler <kk...@transpac.com>.
On Apr 1, 2010, at 11:12am, Eleftherios Spyromitros wrote:

>>
>> If you're trying to run (versus develop) Hadoop on Windows, I think
>> you must use Cygwin.
>>
>> So that same note should probably be added someplace on the Mahout
>> site, if it's not there already.
>
> There is a note in BuildingMahout page, but I think that the place  
> is a
> little
> bit misleading. I would place Cygwin in the Prerequisites section of  
> the
> wiki page,
> with an optional indication e.g. (Only on windows).
>
>>
>> See http://hayesdavis.net/2008/06/14/running-hadoop-on-windows/ for
>> some good notes.
>
> I suppose I don't need to install hadoop as well.. Just install  
> Cygwin,
> right?

I believe so. But IANAWU (I Am Not A Windows User).

-- Ken


>> On Apr 1, 2010, at 10:49am, Sean Owen wrote:
>>
>>> A-ha. It's trying to execute a command called chmod that is a
>> standard
>>> Unix/Linux/OS X command but not present on Windows.
>>>
>>> I am not sure why Hadoop tries this on Windows though... surely it
>>> supports Windows? I somehow think we've seen this before and I  
>>> forget
>>> what the story was.
>>>
>>> It's not something to do with Mahout unfortunately.
>>>
>>> One possible solution is to install Cygwin, which gives you a little
>>> Unix-like environment on Windows. It has a chmod binary. Running via
>>> Cygwin might work.
>>>
>>> On Thu, Apr 1, 2010 at 6:46 PM, Eleftherios Spyromitros
>>> <es...@csd.auth.gr> wrote:
>>>> OK guys you are being very helpful. Here is an error file
>>>> (I think that most if not all error files complain about chmod..
>>>> does this have to do with admin privilages??):
>>>>
>>>> --------------------------------------------------------------------
>> -----------
>>>> Test set: org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest
>>>> --------------------------------------------------------------------
>> -----------
>>>> Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed:
>>>> 0.14 sec <<< FAILURE!
>>>> testStartParallelCounting
>>>> (org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest)  Time elapsed:
>>>> 0.063 sec  <<< ERROR!
>>>> java.io.IOException: Cannot run program "chmod": CreateProcess
>>>> error=2, The system cannot find the file specified
>>>>       at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
>>>>       at org.apache.hadoop.util.Shell.runCommand(Shell.java:149)
>>>>       at org.apache.hadoop.util.Shell.run(Shell.java:134)
>>>>       at org.apache.hadoop.util.Shell
>>>> $ShellCommandExecutor.execute(Shell.java:286)
>>>>       at org.apache.hadoop.util.Shell.execCommand(Shell.java:354)
>>>>       at org.apache.hadoop.util.Shell.execCommand(Shell.java:337)
>>>>       at
>>>> org
>>>> .apache
>>>> .hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:
>>>> 481)
>>>>       at
>>>> org
>>>> .apache
>>>> .hadoop 
>>>> .fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:
>>>> 473)
>>>>       at
>>>> org
>>>> .apache
>>>> .hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java: 
>>>> 280)
>>>>       at
>> org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:266)
>>>>       at
>>>> org
>>>> .apache
>>>> .hadoop 
>>>> .mapred.JobClient.configureCommandLineOptions(JobClient.java:
>>>> 573)
>>>>       at
>>>> org 
>>>> .apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:
>>>> 761)
>>>>       at org.apache.hadoop.mapreduce.Job.submit(Job.java:432)
>>>>       at
>>>> org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:447)
>>>>       at
>>>> org
>>>> .apache
>>>> .mahout
>>>> .fpm.pfpgrowth.PFPGrowth.startParallelCounting(PFPGrowth.java:318)
>>>>       at
>>>> org
>>>> .apache
>>>> .mahout
>>>> .fpm
>>>> .pfpgrowth
>>>> .PFPGrowthTest.testStartParallelCounting(PFPGrowthTest.java:89)
>>>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>>>>       at
>>>> sun
>>>> .reflect
>>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>       at
>>>> sun
>>>> .reflect
>>>> .DelegatingMethodAccessorImpl
>>>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>>>       at java.lang.reflect.Method.invoke(Method.java:597)
>>>>       at junit.framework.TestCase.runTest(TestCase.java:168)
>>>>       at junit.framework.TestCase.runBare(TestCase.java:134)
>>>>       at junit.framework.TestResult$1.protect(TestResult.java:110)
>>>>       at junit.framework.TestResult.runProtected(TestResult.java:
>>>> 128)
>>>>       at junit.framework.TestResult.run(TestResult.java:113)
>>>>       at junit.framework.TestCase.run(TestCase.java:124)
>>>>       at junit.framework.TestSuite.runTest(TestSuite.java:232)
>>>>       at junit.framework.TestSuite.run(TestSuite.java:227)
>>>>       at
>>>> org
>>>> .junit
>>>> .internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java: 
>>>> 83)
>>>>       at
>>>> org
>>>> .apache
>>>> .maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>>>>       at
>>>> org
>>>> .apache
>>>> .maven
>>>> .surefire
>>>> .suite
>>>> .AbstractDirectoryTestSuite
>>>> .executeTestSet(AbstractDirectoryTestSuite.java:115)
>>>>       at
>>>> org
>>>> .apache
>>>> .maven
>>>> .surefire
>>>> .suite
>>>> .AbstractDirectoryTestSuite 
>>>> .execute(AbstractDirectoryTestSuite.java:
>>>> 102)
>>>>       at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>>>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>>>>       at
>>>> sun
>>>> .reflect
>>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>       at
>>>> sun
>>>> .reflect
>>>> .DelegatingMethodAccessorImpl
>>>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>>>       at java.lang.reflect.Method.invoke(Method.java:597)
>>>>       at
>>>> org
>>>> .apache
>>>> .maven
>>>> .surefire
>>>> .booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>>>>       at
>>>> org
>>>> .apache
>>>> .maven.surefire.booter.SurefireBooter.main(SurefireBooter.java: 
>>>> 1021)
>>>> Caused by: java.io.IOException: CreateProcess error=2, The system
>>>> cannot find the file specified
>>>>       at java.lang.ProcessImpl.create(Native Method)
>>>>       at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
>>>>       at java.lang.ProcessImpl.start(ProcessImpl.java:30)
>>>>       at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
>>>>       ... 38 more
>>
>> --------------------------------------------
>> Ken Krugler
>> +1 530-210-6378
>> http://bixolabs.com
>> e l a s t i c   w e b   m i n i n g
>>
>>
>>
>
>

--------------------------------------------
Ken Krugler
+1 530-210-6378
http://bixolabs.com
e l a s t i c   w e b   m i n i n g





RE: Installation Help

Posted by Eleftherios Spyromitros <es...@csd.auth.gr>.
> 
> If you're trying to run (versus develop) Hadoop on Windows, I think
> you must use Cygwin.
> 
> So that same note should probably be added someplace on the Mahout
> site, if it's not there already.

There is a note in BuildingMahout page, but I think that the place is a
little 
bit misleading. I would place Cygwin in the Prerequisites section of the
wiki page,
with an optional indication e.g. (Only on windows).

> 
> See http://hayesdavis.net/2008/06/14/running-hadoop-on-windows/ for
> some good notes.

I suppose I don't need to install hadoop as well.. Just install Cygwin,
right?


> 
> -- Ken
> 
> 
> On Apr 1, 2010, at 10:49am, Sean Owen wrote:
> 
> > A-ha. It's trying to execute a command called chmod that is a
> standard
> > Unix/Linux/OS X command but not present on Windows.
> >
> > I am not sure why Hadoop tries this on Windows though... surely it
> > supports Windows? I somehow think we've seen this before and I forget
> > what the story was.
> >
> > It's not something to do with Mahout unfortunately.
> >
> > One possible solution is to install Cygwin, which gives you a little
> > Unix-like environment on Windows. It has a chmod binary. Running via
> > Cygwin might work.
> >
> > On Thu, Apr 1, 2010 at 6:46 PM, Eleftherios Spyromitros
> > <es...@csd.auth.gr> wrote:
> >> OK guys you are being very helpful. Here is an error file
> >> (I think that most if not all error files complain about chmod..
> >> does this have to do with admin privilages??):
> >>
> >> --------------------------------------------------------------------
> -----------
> >> Test set: org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest
> >> --------------------------------------------------------------------
> -----------
> >> Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed:
> >> 0.14 sec <<< FAILURE!
> >> testStartParallelCounting
> >> (org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest)  Time elapsed:
> >> 0.063 sec  <<< ERROR!
> >> java.io.IOException: Cannot run program "chmod": CreateProcess
> >> error=2, The system cannot find the file specified
> >>        at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
> >>        at org.apache.hadoop.util.Shell.runCommand(Shell.java:149)
> >>        at org.apache.hadoop.util.Shell.run(Shell.java:134)
> >>        at org.apache.hadoop.util.Shell
> >> $ShellCommandExecutor.execute(Shell.java:286)
> >>        at org.apache.hadoop.util.Shell.execCommand(Shell.java:354)
> >>        at org.apache.hadoop.util.Shell.execCommand(Shell.java:337)
> >>        at
> >> org
> >> .apache
> >> .hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:
> >> 481)
> >>        at
> >> org
> >> .apache
> >> .hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:
> >> 473)
> >>        at
> >> org
> >> .apache
> >> .hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:280)
> >>        at
> org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:266)
> >>        at
> >> org
> >> .apache
> >> .hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.java:
> >> 573)
> >>        at
> >> org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:
> >> 761)
> >>        at org.apache.hadoop.mapreduce.Job.submit(Job.java:432)
> >>        at
> >> org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:447)
> >>        at
> >> org
> >> .apache
> >> .mahout
> >> .fpm.pfpgrowth.PFPGrowth.startParallelCounting(PFPGrowth.java:318)
> >>        at
> >> org
> >> .apache
> >> .mahout
> >> .fpm
> >> .pfpgrowth
> >> .PFPGrowthTest.testStartParallelCounting(PFPGrowthTest.java:89)
> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> >>        at
> >> sun
> >> .reflect
> >> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>        at
> >> sun
> >> .reflect
> >> .DelegatingMethodAccessorImpl
> >> .invoke(DelegatingMethodAccessorImpl.java:25)
> >>        at java.lang.reflect.Method.invoke(Method.java:597)
> >>        at junit.framework.TestCase.runTest(TestCase.java:168)
> >>        at junit.framework.TestCase.runBare(TestCase.java:134)
> >>        at junit.framework.TestResult$1.protect(TestResult.java:110)
> >>        at junit.framework.TestResult.runProtected(TestResult.java:
> >> 128)
> >>        at junit.framework.TestResult.run(TestResult.java:113)
> >>        at junit.framework.TestCase.run(TestCase.java:124)
> >>        at junit.framework.TestSuite.runTest(TestSuite.java:232)
> >>        at junit.framework.TestSuite.run(TestSuite.java:227)
> >>        at
> >> org
> >> .junit
> >> .internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> >>        at
> >> org
> >> .apache
> >> .maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
> >>        at
> >> org
> >> .apache
> >> .maven
> >> .surefire
> >> .suite
> >> .AbstractDirectoryTestSuite
> >> .executeTestSet(AbstractDirectoryTestSuite.java:115)
> >>        at
> >> org
> >> .apache
> >> .maven
> >> .surefire
> >> .suite
> >> .AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:
> >> 102)
> >>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> >>        at
> >> sun
> >> .reflect
> >> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>        at
> >> sun
> >> .reflect
> >> .DelegatingMethodAccessorImpl
> >> .invoke(DelegatingMethodAccessorImpl.java:25)
> >>        at java.lang.reflect.Method.invoke(Method.java:597)
> >>        at
> >> org
> >> .apache
> >> .maven
> >> .surefire
> >> .booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
> >>        at
> >> org
> >> .apache
> >> .maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> >> Caused by: java.io.IOException: CreateProcess error=2, The system
> >> cannot find the file specified
> >>        at java.lang.ProcessImpl.create(Native Method)
> >>        at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
> >>        at java.lang.ProcessImpl.start(ProcessImpl.java:30)
> >>        at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
> >>        ... 38 more
> 
> --------------------------------------------
> Ken Krugler
> +1 530-210-6378
> http://bixolabs.com
> e l a s t i c   w e b   m i n i n g
> 
> 
> 



Re: Installation Help

Posted by Ken Krugler <kk...@transpac.com>.
If you're trying to run (versus develop) Hadoop on Windows, I think  
you must use Cygwin.

So that same note should probably be added someplace on the Mahout  
site, if it's not there already.

See http://hayesdavis.net/2008/06/14/running-hadoop-on-windows/ for  
some good notes.

-- Ken


On Apr 1, 2010, at 10:49am, Sean Owen wrote:

> A-ha. It's trying to execute a command called chmod that is a standard
> Unix/Linux/OS X command but not present on Windows.
>
> I am not sure why Hadoop tries this on Windows though... surely it
> supports Windows? I somehow think we've seen this before and I forget
> what the story was.
>
> It's not something to do with Mahout unfortunately.
>
> One possible solution is to install Cygwin, which gives you a little
> Unix-like environment on Windows. It has a chmod binary. Running via
> Cygwin might work.
>
> On Thu, Apr 1, 2010 at 6:46 PM, Eleftherios Spyromitros
> <es...@csd.auth.gr> wrote:
>> OK guys you are being very helpful. Here is an error file
>> (I think that most if not all error files complain about chmod..
>> does this have to do with admin privilages??):
>>
>> -------------------------------------------------------------------------------
>> Test set: org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest
>> -------------------------------------------------------------------------------
>> Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed:  
>> 0.14 sec <<< FAILURE!
>> testStartParallelCounting 
>> (org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest)  Time elapsed:  
>> 0.063 sec  <<< ERROR!
>> java.io.IOException: Cannot run program "chmod": CreateProcess  
>> error=2, The system cannot find the file specified
>>        at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
>>        at org.apache.hadoop.util.Shell.runCommand(Shell.java:149)
>>        at org.apache.hadoop.util.Shell.run(Shell.java:134)
>>        at org.apache.hadoop.util.Shell 
>> $ShellCommandExecutor.execute(Shell.java:286)
>>        at org.apache.hadoop.util.Shell.execCommand(Shell.java:354)
>>        at org.apache.hadoop.util.Shell.execCommand(Shell.java:337)
>>        at  
>> org 
>> .apache 
>> .hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java: 
>> 481)
>>        at  
>> org 
>> .apache 
>> .hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java: 
>> 473)
>>        at  
>> org 
>> .apache 
>> .hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:280)
>>        at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:266)
>>        at  
>> org 
>> .apache 
>> .hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.java: 
>> 573)
>>        at  
>> org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java: 
>> 761)
>>        at org.apache.hadoop.mapreduce.Job.submit(Job.java:432)
>>        at  
>> org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:447)
>>        at  
>> org 
>> .apache 
>> .mahout 
>> .fpm.pfpgrowth.PFPGrowth.startParallelCounting(PFPGrowth.java:318)
>>        at  
>> org 
>> .apache 
>> .mahout 
>> .fpm 
>> .pfpgrowth 
>> .PFPGrowthTest.testStartParallelCounting(PFPGrowthTest.java:89)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at  
>> sun 
>> .reflect 
>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at  
>> sun 
>> .reflect 
>> .DelegatingMethodAccessorImpl 
>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at junit.framework.TestCase.runTest(TestCase.java:168)
>>        at junit.framework.TestCase.runBare(TestCase.java:134)
>>        at junit.framework.TestResult$1.protect(TestResult.java:110)
>>        at junit.framework.TestResult.runProtected(TestResult.java: 
>> 128)
>>        at junit.framework.TestResult.run(TestResult.java:113)
>>        at junit.framework.TestCase.run(TestCase.java:124)
>>        at junit.framework.TestSuite.runTest(TestSuite.java:232)
>>        at junit.framework.TestSuite.run(TestSuite.java:227)
>>        at  
>> org 
>> .junit 
>> .internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>>        at  
>> org 
>> .apache 
>> .maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>>        at  
>> org 
>> .apache 
>> .maven 
>> .surefire 
>> .suite 
>> .AbstractDirectoryTestSuite 
>> .executeTestSet(AbstractDirectoryTestSuite.java:115)
>>        at  
>> org 
>> .apache 
>> .maven 
>> .surefire 
>> .suite 
>> .AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java: 
>> 102)
>>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at  
>> sun 
>> .reflect 
>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at  
>> sun 
>> .reflect 
>> .DelegatingMethodAccessorImpl 
>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at  
>> org 
>> .apache 
>> .maven 
>> .surefire 
>> .booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>>        at  
>> org 
>> .apache 
>> .maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>> Caused by: java.io.IOException: CreateProcess error=2, The system  
>> cannot find the file specified
>>        at java.lang.ProcessImpl.create(Native Method)
>>        at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
>>        at java.lang.ProcessImpl.start(ProcessImpl.java:30)
>>        at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
>>        ... 38 more

--------------------------------------------
Ken Krugler
+1 530-210-6378
http://bixolabs.com
e l a s t i c   w e b   m i n i n g





Re: Installation Help

Posted by Sean Owen <sr...@gmail.com>.
A-ha. It's trying to execute a command called chmod that is a standard
Unix/Linux/OS X command but not present on Windows.

I am not sure why Hadoop tries this on Windows though... surely it
supports Windows? I somehow think we've seen this before and I forget
what the story was.

It's not something to do with Mahout unfortunately.

One possible solution is to install Cygwin, which gives you a little
Unix-like environment on Windows. It has a chmod binary. Running via
Cygwin might work.

On Thu, Apr 1, 2010 at 6:46 PM, Eleftherios Spyromitros
<es...@csd.auth.gr> wrote:
> OK guys you are being very helpful. Here is an error file
> (I think that most if not all error files complain about chmod..
> does this have to do with admin privilages??):
>
> -------------------------------------------------------------------------------
> Test set: org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest
> -------------------------------------------------------------------------------
> Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 0.14 sec <<< FAILURE!
> testStartParallelCounting(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest)  Time elapsed: 0.063 sec  <<< ERROR!
> java.io.IOException: Cannot run program "chmod": CreateProcess error=2, The system cannot find the file specified
>        at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
>        at org.apache.hadoop.util.Shell.runCommand(Shell.java:149)
>        at org.apache.hadoop.util.Shell.run(Shell.java:134)
>        at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:286)
>        at org.apache.hadoop.util.Shell.execCommand(Shell.java:354)
>        at org.apache.hadoop.util.Shell.execCommand(Shell.java:337)
>        at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:481)
>        at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:473)
>        at org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:280)
>        at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:266)
>        at org.apache.hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.java:573)
>        at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:761)
>        at org.apache.hadoop.mapreduce.Job.submit(Job.java:432)
>        at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:447)
>        at org.apache.mahout.fpm.pfpgrowth.PFPGrowth.startParallelCounting(PFPGrowth.java:318)
>        at org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest.testStartParallelCounting(PFPGrowthTest.java:89)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at junit.framework.TestCase.runTest(TestCase.java:168)
>        at junit.framework.TestCase.runBare(TestCase.java:134)
>        at junit.framework.TestResult$1.protect(TestResult.java:110)
>        at junit.framework.TestResult.runProtected(TestResult.java:128)
>        at junit.framework.TestResult.run(TestResult.java:113)
>        at junit.framework.TestCase.run(TestCase.java:124)
>        at junit.framework.TestSuite.runTest(TestSuite.java:232)
>        at junit.framework.TestSuite.run(TestSuite.java:227)
>        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
>        at java.lang.ProcessImpl.create(Native Method)
>        at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
>        at java.lang.ProcessImpl.start(ProcessImpl.java:30)
>        at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
>        ... 38 more

RE: Installation Help

Posted by Eleftherios Spyromitros <es...@csd.auth.gr>.
OK guys you are being very helpful. Here is an error file
(I think that most if not all error files complain about chmod..
does this have to do with admin privilages??):

-------------------------------------------------------------------------------
Test set: org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 0.14 sec <<< FAILURE!
testStartParallelCounting(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest)  Time elapsed: 0.063 sec  <<< ERROR!
java.io.IOException: Cannot run program "chmod": CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
	at org.apache.hadoop.util.Shell.runCommand(Shell.java:149)
	at org.apache.hadoop.util.Shell.run(Shell.java:134)
	at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:286)
	at org.apache.hadoop.util.Shell.execCommand(Shell.java:354)
	at org.apache.hadoop.util.Shell.execCommand(Shell.java:337)
	at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:481)
	at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:473)
	at org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:280)
	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:266)
	at org.apache.hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.java:573)
	at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:761)
	at org.apache.hadoop.mapreduce.Job.submit(Job.java:432)
	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:447)
	at org.apache.mahout.fpm.pfpgrowth.PFPGrowth.startParallelCounting(PFPGrowth.java:318)
	at org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest.testStartParallelCounting(PFPGrowthTest.java:89)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessImpl.create(Native Method)
	at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
	at java.lang.ProcessImpl.start(ProcessImpl.java:30)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
	... 38 more

testStartGroupingItems(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest)  Time elapsed: 0.021 sec  <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<{[D=0, E=1, A=0, B=0, C=1]}> but was:<{[]}>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at junit.framework.Assert.assertEquals(Assert.java:87)
	at org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest.testStartGroupingItems(PFPGrowthTest.java:101)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

testStartParallelFPGrowth(org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest)  Time elapsed: 0.053 sec  <<< ERROR!
java.io.IOException: Cannot run program "chmod": CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
	at org.apache.hadoop.util.Shell.runCommand(Shell.java:149)
	at org.apache.hadoop.util.Shell.run(Shell.java:134)
	at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:286)
	at org.apache.hadoop.util.Shell.execCommand(Shell.java:354)
	at org.apache.hadoop.util.Shell.execCommand(Shell.java:337)
	at org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:481)
	at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:473)
	at org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:280)
	at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:266)
	at org.apache.hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.java:573)
	at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:761)
	at org.apache.hadoop.mapreduce.Job.submit(Job.java:432)
	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:447)
	at org.apache.mahout.fpm.pfpgrowth.PFPGrowth.startTransactionSorting(PFPGrowth.java:364)
	at org.apache.mahout.fpm.pfpgrowth.PFPGrowthTest.testStartParallelFPGrowth(PFPGrowthTest.java:107)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessImpl.create(Native Method)
	at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
	at java.lang.ProcessImpl.start(ProcessImpl.java:30)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
	... 38 more

> 
> Yeah that's still not quite showing the nature of the error.
> 
> Ted's saying that, for example, the output says that
> TestFuzzyKmeansClustering failed. In target/surefire-reports, you'll
> see a file with the output from this test. Could you for example find
> the error in there and post it?
> 
> I'm guessing it is all due to some common cause related to the
> environment.
> 
> Sean
> 
> On Thu, Apr 1, 2010 at 6:27 PM, Eleftherios Spyromitros
> <es...@csd.auth.gr> wrote:
> > And I get the following from Eclipse mvn console:
> >
> > Tests run: 395, Failures: 20, Errors: 32, Skipped: 0
> >
> > [INFO] --------------------------------------------------------------
> ----------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache Lucene Mahout .............................. SUCCESS
> [11.833s]
> > [INFO] Mahout Common Maven Parent ........................ SUCCESS
> [0.039s]
> > [INFO] Maven Mojo to generate code for collections ....... SUCCESS
> [16.677s]
> > [INFO] Mahout Collections ................................ SUCCESS
> [20.901s]
> > [INFO] Mahout Math ....................................... SUCCESS
> [20.585s]
> > [INFO] Mahout Core ....................................... FAILURE
> [56.658s]
> > [INFO] Mahout Taste Webapp ............................... SKIPPED
> > [INFO] Mahout Utilities .................................. SKIPPED
> > [INFO] Mahout Examples ................................... SKIPPED
> > [INFO] --------------------------------------------------------------
> ----------
> > [INFO] BUILD FAILURE
> > [INFO] --------------------------------------------------------------
> ----------
> > [INFO] Total time: 2:06.868s
> > [INFO] Finished at: Thu Apr 01 20:26:13 EEST 2010
> > [INFO] Final Memory: 28M/107M
> > [INFO] --------------------------------------------------------------
> ----------
> > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-
> surefire-plugin:2.5:test (default-test) on project mahout-core: There
> are test failures.
> >
> > Please refer to D:\Users\lefteris\workspace2\mahout-
> 0.3\core\target\surefire-reports for the individual test results.
> > -> [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/MojoFailureException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with
> the command
> > [ERROR]   mvn <goals> -rf :mahout-core
> >


Re: Installation Help

Posted by Sean Owen <sr...@gmail.com>.
Nah in this case it's definitely 'chmod' to blame.

On Thu, Apr 1, 2010 at 7:07 PM, Ted Dunning <te...@gmail.com> wrote:
> Quite likely the file separator or a space in a file path component.
>
> On Thu, Apr 1, 2010 at 10:30 AM, Sean Owen <sr...@gmail.com> wrote:
>
>> I'm guessing it is all due to some common cause related to the environment.
>

Re: Installation Help

Posted by Ted Dunning <te...@gmail.com>.
Quite likely the file separator or a space in a file path component.

On Thu, Apr 1, 2010 at 10:30 AM, Sean Owen <sr...@gmail.com> wrote:

> I'm guessing it is all due to some common cause related to the environment.

Re: Installation Help

Posted by Sean Owen <sr...@gmail.com>.
Yeah that's still not quite showing the nature of the error.

Ted's saying that, for example, the output says that
TestFuzzyKmeansClustering failed. In target/surefire-reports, you'll
see a file with the output from this test. Could you for example find
the error in there and post it?

I'm guessing it is all due to some common cause related to the environment.

Sean

On Thu, Apr 1, 2010 at 6:27 PM, Eleftherios Spyromitros
<es...@csd.auth.gr> wrote:
> And I get the following from Eclipse mvn console:
>
> Tests run: 395, Failures: 20, Errors: 32, Skipped: 0
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Lucene Mahout .............................. SUCCESS [11.833s]
> [INFO] Mahout Common Maven Parent ........................ SUCCESS [0.039s]
> [INFO] Maven Mojo to generate code for collections ....... SUCCESS [16.677s]
> [INFO] Mahout Collections ................................ SUCCESS [20.901s]
> [INFO] Mahout Math ....................................... SUCCESS [20.585s]
> [INFO] Mahout Core ....................................... FAILURE [56.658s]
> [INFO] Mahout Taste Webapp ............................... SKIPPED
> [INFO] Mahout Utilities .................................. SKIPPED
> [INFO] Mahout Examples ................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2:06.868s
> [INFO] Finished at: Thu Apr 01 20:26:13 EEST 2010
> [INFO] Final Memory: 28M/107M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on project mahout-core: There are test failures.
>
> Please refer to D:\Users\lefteris\workspace2\mahout-0.3\core\target\surefire-reports for the individual test results.
> -> [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/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :mahout-core
>

RE: Installation Help

Posted by Eleftherios Spyromitros <es...@csd.auth.gr>.
And I get the following from Eclipse mvn console:

Tests run: 395, Failures: 20, Errors: 32, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Lucene Mahout .............................. SUCCESS [11.833s]
[INFO] Mahout Common Maven Parent ........................ SUCCESS [0.039s]
[INFO] Maven Mojo to generate code for collections ....... SUCCESS [16.677s]
[INFO] Mahout Collections ................................ SUCCESS [20.901s]
[INFO] Mahout Math ....................................... SUCCESS [20.585s]
[INFO] Mahout Core ....................................... FAILURE [56.658s]
[INFO] Mahout Taste Webapp ............................... SKIPPED
[INFO] Mahout Utilities .................................. SKIPPED
[INFO] Mahout Examples ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:06.868s
[INFO] Finished at: Thu Apr 01 20:26:13 EEST 2010
[INFO] Final Memory: 28M/107M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on project mahout-core: There are test failures.

Please refer to D:\Users\lefteris\workspace2\mahout-0.3\core\target\surefire-reports for the individual test results.
-> [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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :mahout-core

> -----Original Message-----
> From: Sean Owen [mailto:srowen@gmail.com]
> Sent: Thursday, April 01, 2010 7:49 PM
> To: mahout-user@lucene.apache.org
> Subject: Re: Installation Help
> 
> Any more information? at least we'd need to see some more error
> messages.
> 
> I have a first guess though, did you set MAVEN_OPTS=-Xmx512m ?
> 
> On Thu, Apr 1, 2010 at 5:48 PM, Eleftherios Spyromitros
> <es...@csd.auth.gr> wrote:
> > Hi all,
> >
> >
> >
> > I want to build a recommendation engine and think that Mahout is
> perfectly
> > suitable for this purpose.
> >
> > The problem is that I am really new to mahout and can't even install
> it.
> >
> > I am under windows vista and I have correctly installed maven. I use
> the
> > command mvn install
> >
> > but the build fails in Mahout core because of test failures.
> (Failures:20,
> > Errors: 32)
> >
> > I used both the trunk version and mahout 0.3 with the same problems.
> >
> >
> >
> > Please give me a clue, I am trying for almost 2 days now..
> >
> >
> >
> > Thanks in advance,
> >
> > Lefteris
> >
> >
> >
> >
> >
> > --
> >
> > Eleftherios Spyromitros, M.Sc. Student of
> >
> > Informatics Aristotle University of Thessaloniki, GREECE
> >
> > espyromi@csd.auth.gr
> >
> >
> >
> >


Re: Installation Help

Posted by Sean Owen <sr...@gmail.com>.
Any more information? at least we'd need to see some more error messages.

I have a first guess though, did you set MAVEN_OPTS=-Xmx512m ?

On Thu, Apr 1, 2010 at 5:48 PM, Eleftherios Spyromitros
<es...@csd.auth.gr> wrote:
> Hi all,
>
>
>
> I want to build a recommendation engine and think that Mahout is perfectly
> suitable for this purpose.
>
> The problem is that I am really new to mahout and can't even install it.
>
> I am under windows vista and I have correctly installed maven. I use the
> command mvn install
>
> but the build fails in Mahout core because of test failures. (Failures:20,
> Errors: 32)
>
> I used both the trunk version and mahout 0.3 with the same problems.
>
>
>
> Please give me a clue, I am trying for almost 2 days now..
>
>
>
> Thanks in advance,
>
> Lefteris
>
>
>
>
>
> --
>
> Eleftherios Spyromitros, M.Sc. Student of
>
> Informatics Aristotle University of Thessaloniki, GREECE
>
> espyromi@csd.auth.gr
>
>
>
>