Return-Path: Delivered-To: apmail-lucene-mahout-user-archive@minotaur.apache.org Received: (qmail 45781 invoked from network); 1 Apr 2010 18:16:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Apr 2010 18:16:36 -0000 Received: (qmail 90249 invoked by uid 500); 1 Apr 2010 18:16:36 -0000 Delivered-To: apmail-lucene-mahout-user-archive@lucene.apache.org Received: (qmail 90206 invoked by uid 500); 1 Apr 2010 18:16:36 -0000 Mailing-List: contact mahout-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mahout-user@lucene.apache.org Delivered-To: mailing list mahout-user@lucene.apache.org Received: (qmail 90196 invoked by uid 99); 1 Apr 2010 18:16:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 18:16:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.177.145.93] (HELO prxy.net) (209.177.145.93) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 18:16:29 +0000 Received: from [75.26.170.71] (account ken@krugler.org HELO [192.168.1.110]) by prxy.net (CommuniGate Pro SMTP 4.2.10) with ESMTP id 131546889 for mahout-user@lucene.apache.org; Thu, 01 Apr 2010 11:16:15 -0700 Message-Id: From: Ken Krugler To: mahout-user@lucene.apache.org In-Reply-To: <007001cad1c6$f1f2c730$d5d85590$@auth.gr> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Installation Help Date: Thu, 1 Apr 2010 11:15:57 -0700 References: <003901cad1bb$18f77300$4ae65900$@auth.gr> <005a01cad1c0$a6c58910$f4509b30$@auth.gr> <006101cad1c3$523c1e60$f6b45b20$@auth.gr> <007001cad1c6$f1f2c730$d5d85590$@auth.gr> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org 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 >>> 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.(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