Maybe it is just vista , I am having problems with security and changing file permissions. I am the administrator on the machine I am running.
Some errors include 1. org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `C:\\Software\\Mahout\\trunk\\core\\output\\state-0\\part-0': Permission denied 2.testEvaluate(org.apache.mahout.ga.watchmaker.MahoutEvaluatorTest) Time elapsed: 1.654 sec <<< ERROR! org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of `C:\\Software\\Mahout\\trunk\\core\\input\\population': Permission denied On Thu, Apr 16, 2009 at 5:44 PM, Jeff Eastman <[email protected]>wrote: > I do not believe that the Mahout code itself requires Cygwin. Hadoop > requires it on Windows boxes so that it can issue e.g. chmod commands to a > uniform OS interface. Our unit tests utilize Hadoop to test their parallel > versions and, if Cygwin is not installed, those tests will fail and the jar > will not be built. You will have the same problem running any of the > parallel versions on a Windows box without Cygwin. > > Is there an issue with using Cygwin? > Jeff > > > > Niraj wrote: > >> I had the same problem. >> Then I got to trying it with cygwin. My errors came down from 3 to 1 and >> after that I just gave up. >> >> >> >> On Thu, Apr 16, 2009 at 4:33 PM, Túlio <[email protected]> wrote: >> >> >> >>> Ok, >>> >>> my question is: Is there anyway to create the .jar without the Cygwin? >>> (all >>> the exceptions are in parts of the framework i won't use) >>> >>> Does that mean mahout doesn't have a Windows version? >>> >>> Sorry for the silly questions again. >>> >>> >>> Túlio wrote: >>> >>> >>>> Hi guys, >>>> >>>> i am trying to compile mahout using Netbeans. Installed the plugins and >>>> everything seems to work fine and I am able to compile the whole thing. >>>> >>>> However, some tests have errors, exceptions that are not correctly >>>> >>>> >>> handled >>> >>> >>>> (and this seems to prevent the .jar file to be created for the Mahout >>>> >>>> >>> core >>> >>> >>>> target of the pom file - i am not familiar with maven :S) >>>> >>>> The tests that are getting errors are: >>>> >>>> Running org.apache.mahout.ga.watchmaker.MahoutEvaluatorTest >>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.093 >>>> sec >>>> <<< FAILURE! >>>> >>>> Running org.apache.mahout.clustering.dirichlet.TestMapReduce >>>> Tests run: 16, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 4.266 >>>> >>>> >>> sec >>> >>> >>>> <<< FAILURE! >>>> >>>> Running org.apache.mahout.clustering.kmeans.TestKmeansClustering >>>> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.156 >>>> sec >>>> <<< FAILURE! >>>> >>>> Running org.apache.mahout.clustering.meanshift.TestMeanShift >>>> Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.203 >>>> sec >>>> <<< FAILURE! >>>> >>>> I am getting the following exception: >>>> >>>> java.io.IOException: Cannot run program "chmod": CreateProcess error=2, >>>> O >>>> sistema não pode encontrar o arquivo especificado (The system can't find >>>> the specified file) >>>> >>>> Does this have anything to do with the fact that i am trying to run it >>>> on >>>> Windows? >>>> >>>> How do I get it to work (and generate the .jar file so i can run the >>>> samples)? the .jar file should be in the mahout\core\build folder after >>>> build, right? >>>> >>>> Sorry for the silly question, i am just trying to get this to work. We >>>> have a bayesian decision system that using Netica-J and I am looking for >>>> alternatives. >>>> >>>> >>>> >>>> >>>> >>>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Unit-Tests-Failed-tp22753622p23088538.html >>> Sent from the Mahout User List mailing list archive at Nabble.com. >>> >>> >>> >>> >> >> >> > >
