mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Nithian <anith...@gmail.com>
Subject Re: Install Mahout on eclipse kelpler on Windows
Date Tue, 26 Nov 2013 20:52:11 GMT
I haven't tried Mahout on Windows in a while but the eclipse part should
just be able to be done through using mvn eclipse:eclipse and import the
project(s) into your workspace.

Then you should be able to use the LocalJobRunner to do some basic testing
in Eclipse.

Cheers
Amit


On Tue, Nov 26, 2013 at 12:28 PM, Kevin Blaisdell <blaisdellk@gmail.com>wrote:

> Antony,
>
> If it is an option you might want to consider the Hortonworks distribution.
>  They have a specific build they are working on targeting Windows as part
> of their partnership with Microsoft (no cygwin dependency).  That said last
> I look it had numerous basic issues, but I think it will be easier to work
> through issues on that distribution since it doesn't have cygwin involved
> and does have users/owners inscented to get it working on Windows.
>
>
>
> On Tue, Nov 26, 2013 at 10:07 AM, Antony Adopo <saius1er@gmail.com> wrote:
>
> > Hello, I want to install mahout on windows.
> > so I followed thse steps:
> >
> > 1.installing JDK 7
> > 2. installing eclipse j2e kepler because it has already embedded maven
> > 3.Installing subclipse plugin
> > 4.check out http://svn.apache.org/repos/asf/mahout/trunk
> > So mahout project appear on my eclipse workplace
> > 5. build project by "run as> maven Project
> >
> > All first test work but After some minuts , I have These error in red
> >
> > could someone help me?
> >
> > thanks
> > :
> >
> > [INFO]
> >
> > [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ mahout-math ---
> >
> > [INFO] Building jar:
> >
> C:\Users\adopant\workspace\Mahout\math\target\mahout-math-0.9-SNAPSHOT.jar
> >
> > [INFO]
> >
> > [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ mahout-math ---
> >
> > [INFO] Building jar:
> >
> >
> C:\Users\adopant\workspace\Mahout\math\target\mahout-math-0.9-SNAPSHOT-tests.jar
> >
> > [INFO]
> >
> > [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @
> > mahout-math ---
> >
> > [INFO] Building jar:
> >
> >
> C:\Users\adopant\workspace\Mahout\math\target\mahout-math-0.9-SNAPSHOT-sources.jar
> >
> > [INFO]
> >
> > [INFO] --- maven-install-plugin:2.5.1:install (default-install) @
> > mahout-math ---
> >
> > [INFO] Installing
> >
> C:\Users\adopant\workspace\Mahout\math\target\mahout-math-0.9-SNAPSHOT.jar
> > to
> >
> >
> C:\Users\adopant\.m2\repository\org\apache\mahout\mahout-math\0.9-SNAPSHOT\mahout-math-0.9-SNAPSHOT.jar
> >
> > [INFO] Installing C:\Users\adopant\workspace\Mahout\math\pom.xml to
> >
> >
> C:\Users\adopant\.m2\repository\org\apache\mahout\mahout-math\0.9-SNAPSHOT\mahout-math-0.9-SNAPSHOT.pom
> >
> > [INFO] Installing
> >
> >
> C:\Users\adopant\workspace\Mahout\math\target\mahout-math-0.9-SNAPSHOT-tests.jar
> > to
> >
> >
> C:\Users\adopant\.m2\repository\org\apache\mahout\mahout-math\0.9-SNAPSHOT\mahout-math-0.9-SNAPSHOT-tests.jar
> >
> > [INFO] Installing
> >
> >
> C:\Users\adopant\workspace\Mahout\math\target\mahout-math-0.9-SNAPSHOT-sources.jar
> > to
> >
> >
> C:\Users\adopant\.m2\repository\org\apache\mahout\mahout-math\0.9-SNAPSHOT\mahout-math-0.9-SNAPSHOT-sources.jar
> >
> > [INFO]
> >
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [INFO] Building Mahout Core 0.9-SNAPSHOT
> >
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [INFO]
> >
> > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> > mahout-core ---
> >
> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> >
> > [INFO] Copying 1 resource
> >
> > [INFO] Copying 1 resource
> >
> > [INFO]
> >
> > [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
> > mahout-core ---
> >
> > [INFO] Changes detected - recompiling the module!
> >
> > [INFO] Compiling 548 source files to
> > C:\Users\adopant\workspace\Mahout\core\target\classes
> >
> > [WARNING]
> >
> >
> /C:/Users/adopant/workspace/Mahout/core/src/main/java/org/apache/mahout/clustering/spectral/kmeans/SpectralKMeansDriver.java:
> > Some input files use or override a deprecated API.
> >
> > [WARNING]
> >
> >
> /C:/Users/adopant/workspace/Mahout/core/src/main/java/org/apache/mahout/clustering/spectral/kmeans/SpectralKMeansDriver.java:
> > Recompile with -Xlint:deprecation for details.
> >
> > [WARNING]
> >
> >
> /C:/Users/adopant/workspace/Mahout/core/src/main/java/org/apache/mahout/cf/taste/impl/common/FastByIDMap.java:
> > Some input files use unchecked or unsafe operations.
> >
> > [WARNING]
> >
> >
> /C:/Users/adopant/workspace/Mahout/core/src/main/java/org/apache/mahout/cf/taste/impl/common/FastByIDMap.java:
> > Recompile with -Xlint:unchecked for details.
> >
> > [INFO]
> >
> > [INFO] --- maven-resources-plugin:2.6:testResources
> (default-testResources)
> > @ mahout-core ---
> >
> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> >
> > [INFO] Copying 7 resources
> >
> > [INFO]
> >
> > [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
> > mahout-core ---
> >
> > [INFO] Nothing to compile - all classes are up to date
> >
> > [INFO]
> >
> > [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ mahout-core
> ---
> >
> > [INFO] Surefire report directory:
> > C:\Users\adopant\workspace\Mahout\core\target\surefire-reports
> >
> > -------------------------------------------------------
> >
> > T E S T S
> >
> > -------------------------------------------------------
> >
> > -------------------------------------------------------
> >
> > T E S T S
> >
> > -------------------------------------------------------
> >
> > Running
> >
> > *org.apache.mahout.cf.taste.hadoop.similarity.item.ItemSimilarityJobTest*
> >
> > Running
> >
> > *org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJobTest*
> >
> > Running
> >
> > *org.apache.mahout.cf.taste.common.CommonTest*
> >
> > Running
> >
> > *org.apache.mahout.cf.taste.hadoop.item.RecommenderJobTest*
> >
> > Running
> >
> > *org.apache.mahout.cf.taste.hadoop.item.ToUserVectorsReducerTest*
> >
> > Running
> >
> > *org.apache.mahout.cf.taste.hadoop.TopItemsQueueTest*
> >
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.278
> sec -
> > in org.apache.mahout.cf.taste.common.CommonTest
> >
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.241
> sec -
> > in org.apache.mahout.cf.taste.hadoop.TopItemsQueueTest
> >
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.573
> sec -
> > in org.apache.mahout.cf.taste.hadoop.item.ToUserVectorsReducerTest
> >
> > Running
> >
> > *org.apache.mahout.cf.taste.impl.common.BitSetTest*
> >
> > Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099
> sec -
> > in org.apache.mahout.cf.taste.impl.common.BitSetTest
> >
> > Running
> >
> > *org.apache.mahout.cf.taste.impl.common.CacheTest*
> >
> > Running
> >
> > *org.apache.mahout.cf.taste.impl.common.FastByIDMapTest*
> >
> > Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 1.607 sec
> > <<< FAILURE! - in
> > org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJobTest
> >
> >
> >
> completeJobToyExample(org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJobTest)
> > Time elapsed: 0.992 sec <<< ERROR!
> >
> > *java.io.IOException*
> >
> > : Failed to set permissions of path:
> >
> >
> C:\Users\adopant\workspace\Mahout\core\target\mahout-ParallelALSFactorizationJobTest-5846999881126183936\hadoop0.5519140331062834\mapred\staging\ADOPANT505936133\.staging
> > to 0700
> >
> > at org.apache.hadoop.fs.FileUtil.checkReturnValue(
> >
> > *FileUtil.java:691*)
> >
> > at org.apache.hadoop.fs.FileUtil.setPermission(
> >
> > *FileUtil.java:664*)
> >
> > at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(
> >
> > *RawLocalFileSystem.java:514*)
> >
> > at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(
> >
> > *RawLocalFileSystem.java:349*)
> >
> > at org.apache.hadoop.fs.FilterFileSystem.mkdirs(
> >
> > *FilterFileSystem.java:193*)
> >
> > at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(
> >
> > *JobSubmissionFiles.java:126*)
> >
> > at org.apache.hadoop.mapred.JobClient$2.run(
> >
> > *JobClient.java:942*)
> >
> > at org.apache.hadoop.mapred.JobClient$2.run(
> >
> > *JobClient.java:936*)
> >
> > at java.security.AccessController.doPrivileged(
> >
> > *Native Method*)
> >
> > at javax.security.auth.Subject.doAs(
> >
> > *Subject.java:415*)
> >
> > at org.apache.hadoop.security.UserGroupInformation.doAs(
> >
> > *UserGroupInformation.java:1190*)
> >
> > at org.apache.hadoop.mapred.JobClient.submitJobInternal(
> >
> > *JobClient.java:936*)
> >
> > at org.apache.hadoop.mapreduce.Job.submit(
> >
> > *Job.java:550*)
> >
> > at org.apache.hadoop.mapreduce.Job.waitForCompletion(
> >
> > *Job.java:580*)
> >
> > at org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJob.run(
> >
> > *ParallelALSFactorizationJob.java:172*)
> >
> > at
> >
> >
> org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJobTest.explicitExample(
> >
> > *ParallelALSFactorizationJobTest.java:112*)
> >
> > at
> >
> >
> org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJobTest.completeJobToyExample(
> >
> > *ParallelALSFactorizationJobTest.java:71*)
> >
> >
> >
> exampleWithIDMapping(org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJobTest)
> > Time elapsed: 0.068 sec <<< ERROR!
> >
> > *java.io.IOException*
> >
> > : Failed to set permissions of path:
> >
> >
> C:\Users\adopant\workspace\Mahout\core\target\mahout-ParallelALSFactorizationJobTest-7521532506175457280\hadoop0.11177668596552515\mapred\staging\ADOPANT1348437863\.staging
> > to 0700
> >
> > at org.apache.hadoop.fs.FileUtil.checkReturnValue(
> >
> > *FileUtil.java:691*)
> >
> > at org.apache.hadoop.fs.FileUtil.setPermission(
> >
> > *FileUtil.java:664*)
> >
> > at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(
> >
> > *RawLocalFileSystem.java:514*)
> >
> > at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(
> >
> > *RawLocalFileSystem.java:349*)
> >
> > at org.apache.hadoop.fs.FilterFileSystem.mkdirs(
> >
> > *FilterFileSystem.java:193*)
> >
> > at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(
> >
> > *JobSubmissionFiles.java:126*)
> >
> > at org.apache.hadoop.mapred.JobClient$2.run(
> >
> > *JobClient.java:942*)
> >
> > at org.apache.hadoop.mapred.JobClient$2.run(
> >
> > *JobClient.java:936*)
> >
> > at java.security.AccessController.doPrivileged(
> >
> > *Native Method*)
> >
> > at javax.security.auth.Subject.doAs(
> >
> > *Subject.java:415*)
> >
> > at org.apache.hadoop.security.UserGroupInformation.doAs(
> >
> > *UserGroupInformation.java:1190*)
> >
> > at org.apache.hadoop.mapred.JobClient.submitJobInternal(
> >
> > *JobClient.java:936*)
> >
> > at org.apache.hadoop.mapreduce.Job.submit(
> >
> > *Job.java:550*)
> >
> > at org.apache.hadoop.mapreduce.Job.waitForCompletion(
> >
> > *Job.java:580*)
> >
> > at org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJob.run(
> >
> > *ParallelALSFactorizationJob.java:156*)
> >
> > at
> >
> >
> org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJobTest.exampleWithIDMapping(
> >
> > *ParallelALSFactorizationJobTest.java:259*)
> >
> >
> >
> completeJobImplicitToyExampleMultithreaded(org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJobTest)
> > Time elapsed: 0.056 sec <<< ERROR!
> >
> > *java.io.IOException*
> >
> > : Failed to set permissions of path:
> >
> >
> C:\Users\adopant\workspace\Mahout\core\target\mahout-ParallelALSFactorizationJobTest-869427697470706688\hadoop0.7638441384903483\mapred\staging\ADOPANT724055699\.staging
> > to 0700
> >
> > at org.apache.hadoop.fs.FileUtil.checkReturnValue(
> >
> > *FileUtil.java:691*)
> >
> > at org.apache.hadoop.fs.FileUtil.setPermission(
> >
> > *FileUtil.java:664*)
> >
> > at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(
> >
> > *RawLocalFileSystem.java:514*)
> >
> > at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(
> >
> > *RawLocalFileSystem.java:349*)
> >
> > at org.apache.hadoop.fs.FilterFileSystem.mkdirs(
> >
> > *FilterFileSystem.java:193*)
> >
> > at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(
> >
> > *JobSubmissionFiles.java:126*)
> >
> > at org.apache.hadoop.mapred.JobClient$2.run(
> >
> > *JobClient.java:942*)
> >
> > at org.apache.hadoop.mapred.JobClient$2.run(
> >
> > *JobClient.java:936*)
> >
> > at java.security.AccessController.doPrivileged(
> >
> > *Native Method*)
> >
> > at javax.security.auth.Subject.doAs(
> >
> > *Subject.java:415*)
> >
> > at org.apache.hadoop.security.UserGroupInformation.doAs(
> >
> > *UserGroupInformation.java:1190*)
> >
> > at org.apache.hadoop.mapred.JobClient.submitJobInternal(
> >
> > *JobClient.java:936*)
> >
> > at org.apache.hadoop.mapreduce.Job.submit(
> >
> > *Job.java:550*)
> >
> > at org.apache.hadoop.mapreduce.Job.waitForCompletion(
> >
> > *Job.java:580*)
> >
> > at org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJob.run(
> >
> > *ParallelALSFactorizationJob.java:172*)
> >
> > at
> >
> >
> org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJobTest.implicitExample(
> >
> > *ParallelALSFactorizationJobTest.java:188*)
> >
> > at
> >
> >
> org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJobTest.completeJobImplicitToyExampleMultithreaded(
> >
> > *ParallelALSFactorizationJobTest.java:162*)
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message