Hi Steve, Indeed the .job file does contain all the files and classes, and as I wrote, the classes which must be loaded actually are there -- in other words: I don't think I'm missing any class. The class not found exception appears none the less... as though the classloader couldn't find it when it is in a lib/...jar. Also, I can't quite figure out why I could make kMeans work (as you did) and not the Dirichlet sample.
Thanks Sebastien 2009/5/18 Stephen Green <[email protected]> > > On May 18, 2009, at 8:23 AM, Grant Ingersoll wrote: > > >> On May 18, 2009, at 8:12 AM, Sebastien Bratieres wrote: >> >> Hi Grant, >>> >>> It doesn't look like the CLI has anything to do with my issue -- it's >>> just a >>> command-line interface to drive the Amazon machines and jobs you run >>> there >>> remotely. It sends HTTP requests to Amazon to switch machines on and off, >>> start jobs etc. My issue is linked to the AEMR setup or to something >>> peculiar with classloading and the Dirichlet sample (that's because the >>> kMeans example runs fine). >>> If the kind of issue I'm seeing doesn't ring a bell with you Mahout guys, >>> I >>> think I'll try with AEMR staff. >>> >> >> Likely, true. We're not all up on AEMR just yet (although I think I will >> be trying it out next week) >> >> I'd recommend seeing if you can get a little closer to the bone and run >> pure Java with as little in between as possible. It may very well be that >> we need to create some alternate Job jars for AEMR as well that package all >> of Mahout into a single jar. >> > > Doesn't the example job do this? That's all I needed to get EMR up and > running. I think a good first cut would be to make sure that everything you > need is packaged into a single jar file that you can specify in the EMR > configuration. > > I did this a couple of times by building the jar files by hand... > > Steve > -- > Stephen Green // [email protected] > Principal Investigator \\ http://blogs.sun.com/searchguy > Aura Project // Voice: +1 781-442-0926 > Sun Microsystems Labs \\ Fax: +1 781-442-1692 > > > >
