mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Túlio <>
Subject Re: Unit Tests Failed
Date Fri, 17 Apr 2009 11:50:04 GMT

Hello srowen,

I just don't agree when you say Cygwin is a must have. In fact it is ok if I
was making a web server or something. But for a desktop stand-alone
application (like the game i am making) putting cygwin as a dependency to
run it is out of question (anyway, i wont be using hadoop for this project).

I just think is something that has to be considered by the project. 

srowen wrote:
> Like Jeff said, it is not an issue with security per se -- it is that
> Hadoop wants to execute *nix-style binaries like 'chmod' as part of
> its operations. Unfortunately Windows is the odd man out here --
> Linux, Unix variants, OS X all have these binaries.
> It's not Mahout that requires it -- indeed all of our code is just
> pure Java and should have no platform dependence. It is Hadoop, which
> is unfortunately a major, key dependency of the project. That said
> once you have a compiled .jar, if you are not using Hadoop-related
> jobs in Mahout, there should be no problem. For instance if you used
> the core collaborative filtering classes in Mahout, you would see no
> such problem at run-time since the core classes do not relate to
> Hadoop.
> Fortunately, Cygwin ( exists. Cygwin is, to me, a must-have
> for Windows developers. It gives you a mini-*nix environment by
> providing binaries like chmod compiled for Windows. Install it, and,
> then either:
> 1) run all of the Mahout build commands inside the Cygwin bash command
> line, or
> 2) add all the binaries in C:\cygwin\usr\bin to your Windows path,
> then uses the Windows command line
> I think that's all that's needed? Again like Jeff said, shouldn't be
> hard to do this and work around this difference in Windows.
> Sean
> On Fri, Apr 17, 2009 at 5:22 AM, Niraj <>
> wrote:
>> 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(  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

View this message in context:
Sent from the Mahout User List mailing list archive at

View raw message