The build is crashing in the unit tests, because the tests are attempting to run Hadoop jobs.
First, run a build without running the unit tests: mvn -DskipTests=true clean install Next, edit your path so that it includes the windows path of the Cywgin 'chmod.exe' program. This is c:\cygwin\bin\chmod.exe'. This way, when Java attempts to run this program, it can find it. Why Hadoop has to do this is beyond understanding, but there it is. Lance On Tue, Nov 15, 2011 at 9:51 AM, Josh Patterson <[email protected]> wrote: > He could also consider using VMWare on windows and running a centos > image to do his builds. > > Might make things a bit more straightforward. > > Josh > > On Tue, Nov 15, 2011 at 12:42 PM, Sean Owen <[email protected]> wrote: > > The problem is using Windows -- you will need to run all this via Cygwin > in > > Windows, yes. That *should* work, or so I thought. But it's showing it > > can't find the chmod command. It's an environment problem. In general I > > would use Linux / Mac for developing if you can. > > > > On Tue, Nov 15, 2011 at 5:27 PM, GMailPegasus <[email protected] > >wrote: > > > >> > >> Hi guys, > >>> > >>> I'm new in this mailing list. I write because I have some problems > >>> with mahout's compilation. > >>> Some explanation. > >>> I use eclipse: > >>> > >>> Eclipse Java EE IDE for Web Developers. > >>> > >>> Version: Indigo Service Release 1 > >>> Build id: 20110916-0149 > >>> > >>> and I have installed the plug in for maven, svn. I have installed > >>> cygwin, I have some problems with hadoop but I want mahout work on > >>> only one pc. In this case I don't need of hadoop? > >>> In the next I suppose that hadoop in my case isn't necessary. > >>> I have create a new project in eclipse with import 'check out maven > >>> projects from scm'..ok, I have my project in the project explorer, > >>> this is the link of screen captures of my eclipse and in left column > >>> there is the project of mahout. > >>> > http://imageshack.us/photo/my-**images/266/**screenhunter01nov151334.jpg/< > http://imageshack.us/photo/my-images/266/screenhunter01nov151334.jpg/> > >>> I have open the first line in project explorer where is mahout as you > >>> can see in the pictures below: > >>> > http://imageshack.us/photo/my-**images/402/**screenhunter02nov151340.jpg/< > http://imageshack.us/photo/my-images/402/screenhunter02nov151340.jpg/> > >>> I have selected pom.xml and i have selected the menu run->run > >>> as->maven build, in the window that appears I have clicked on the run > >>> button: > >>> > http://imageshack.us/photo/my-**images/31/**screenhunter03nov151343.jpg/< > http://imageshack.us/photo/my-images/31/screenhunter03nov151343.jpg/> > >>> In the console I read this messages: > >>> > >>> > > > > > > -- > Twitter: @jpatanooga > Solution Architect @ Cloudera > hadoop: http://www.cloudera.com > -- Lance Norskog [email protected]
