mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eleftherios Spyromitros" <espyr...@csd.auth.gr>
Subject RE: Installation Help
Date Thu, 01 Apr 2010 18:04:50 GMT
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
> <espyromi@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


Mime
View raw message