By the way, I think you can download a precompiled version of mahout-0.4
(zip or tgz file without src in the filename)
and put it on /usr/local/ That way you can skip all the maven setup and
compilation steps.

Anyone correct me if I am wrong here.

- Danny

On Sat, Mar 5, 2011 at 6:54 PM, Danny Bickson <danny.bick...@gmail.com>wrote:

> You can find 0.4 code from
> http://mirror.its.uidaho.edu/pub/apache//mahout/0.4/
> I think your are taking the latest code.
>
> On Sat, Mar 5, 2011 at 6:17 PM, Mike Nute <mike.n...@gmail.com> wrote:
>
>> so this is actually a really good question.  when I run the command:
>>
>> svn co http://svn.apache.org/repos/asf/mahout/trunk mahout
>>
>> will that download 0.4 or 0.5-snapshot?  It seems like whichever
>> version I've downloaded is filled with references to both of them.  Is
>> there a way to check which one has been downloaded?  The pom.xml file
>> in the trunk has this near the top:
>>
>> <project xmlns="http://maven.apache.org/POM/4.0.0";
>>         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/maven-v4_0_0.xsd";>
>>  <modelVersion>4.0.0</modelVersion>
>>  <groupId>org.apache.mahout</groupId>
>>  <artifactId>mahout</artifactId>
>>  <version>0.5-SNAPSHOT</version>
>>  <packaging>pom</packaging>
>>  <name>Apache Mahout</name>
>>
>> Has version 0.5 even been released yet?  I'm going to try following
>> those instructions again from the start and I will let you know how
>> they go.  I may not get to that until tomorrow but, again, I
>> appreciate all your help.
>>
>> Thanks,
>> Mike
>>
>>
>> On Sat, Mar 5, 2011 at 6:01 PM, Danny Bickson <danny.bick...@gmail.com>
>> wrote:
>> > p.s.
>> > my instructions are based on version mahout-0.4 and not
>> mahout-0.5-snapshot
>> > please verify you download the right version..
>> >
>> > On Sat, Mar 5, 2011 at 5:45 PM, Mike Nute <mike.n...@gmail.com> wrote:
>> >>
>> >> I think I did but I could have spaced out on that step.  Let me try
>> >> that one more time and If it doesn't work I'll send you the log.
>> >> Thanks again.
>> >>
>> >> Mike
>> >>
>> >> On Sat, Mar 5, 2011 at 5:42 PM, Danny Bickson <danny.bick...@gmail.com
>> >
>> >> wrote:
>> >> > 1) did you compil using "mvn clean install"?
>> >> > 2) do you want to send me the error log?
>> >> >
>> >> > On Sat, Mar 5, 2011 at 5:36 PM, Mike Nute <mike.n...@gmail.com>
>> wrote:
>> >> >>
>> >> >> Actually I used exactly that!  (I am the guy who posted a comment on
>> >> >> that last weekend, which I appreciate your reply to, btw).  Is there
>> >> >> any reason why when I run the maven install step that it would not
>> >> >> bother to install the examples?  It looks from the early steps there
>> >> >> like it is planning to but somehow it never gets there.  It installs
>> >> >> the core but runs into some errors (54, to be exact) and then just
>> >> >> stops.  Would these errors be the cause?
>> >> >>
>> >> >> It might make sense to make a public AMI available, though at the
>> >> >> moment I'm so new to linux, EC2 and Hadoop that I'm trying to
>> >> >> understand all the steps along the way.
>> >> >>
>> >> >> Thanks for your help Danny.  I really appreciate it.
>> >> >>
>> >> >> Mike
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Sat, Mar 5, 2011 at 5:27 PM, Danny Bickson <
>> danny.bick...@gmail.com>
>> >> >> wrote:
>> >> >> > Hi Mike!
>> >> >> > Did you try following the instructions I sent here:
>> >> >> >
>> >> >> >
>> >> >> >
>> http://bickson.blogspot.com/2011/01/how-to-install-mahout-on-amazon-ec2.html
>> >> >> > Several people had followed those instructions successfully in the
>> >> >> > last
>> >> >> > couple of weeks.
>> >> >> > If you like I can also make the AMI public, thus you don't
>> actually
>> >> >> > need
>> >> >> > to
>> >> >> > install anything, just boot from the AMI..
>> >> >> >
>> >> >> > On Sat, Mar 5, 2011 at 5:16 PM, Mike Nute <mike.n...@gmail.com>
>> >> >> > wrote:
>> >> >> >>
>> >> >> >> Hi All,
>> >> >> >>
>> >> >> >> I'm trying to get Mahout running on an Amazon EC2 Ubuntu machine
>> and
>> >> >> >> am having a ton of trouble getting the examples to work.  When I
>> run
>> >> >> >> build-reuters.sh, it tells me that maven-examples-*.job could not
>> be
>> >> >> >> found in the examples or the examples/target folders and that I
>> have
>> >> >> >> to install examples first.
>> >> >> >>
>> >> >> >> This seems simple enough, but when I try to run mvn install in
>> the
>> >> >> >> examples folder, I get the all kinds of "unable to find resource
>> >> >> >> ..."
>> >> >> >> messages and the final fail message is below.  Are there possibly
>> >> >> >> references in the build.xml or pom.xml files somewhere that are
>> out
>> >> >> >> of
>> >> >> >> date?  Have I maybe done something else incorrectly along the way
>> >> >> >> that
>> >> >> >> I'm not aware of?  The subversion of mahout was build from the
>> trunk
>> >> >> >> about two days ago.
>> >> >> >>
>> >> >> >> If anyone can tell what I've done wrong here or has any
>> suggestions,
>> >> >> >> I
>> >> >> >> would be very grateful.  Thanks in advance!
>> >> >> >>
>> >> >> >> Best,
>> >> >> >> Mike Nute
>> >> >> >>
>> >> >> >> This is the error message at the end of my "mvn install"
>> execution
>> >> >> >> from within the /examples/ subfolder:
>> >> >> >>
>> >> >> >> [INFO]
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> ------------------------------------------------------------------------
>> >> >> >> [ERROR] BUILD ERROR
>> >> >> >> [INFO]
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> ------------------------------------------------------------------------
>> >> >> >> [INFO] Failed to resolve artifact.
>> >> >> >>
>> >> >> >> Missing:
>> >> >> >> ----------
>> >> >> >> 1) org.apache.mahout:mahout-core:jar:0.5-SNAPSHOT
>> >> >> >>
>> >> >> >>  Try downloading the file manually from the project website.
>> >> >> >>
>> >> >> >>  Then, install it using the command:
>> >> >> >>      mvn install:install-file -DgroupId=org.apache.mahout
>> >> >> >> -DartifactId=mahout-core -Dversion=0.5-SNAPSHOT -Dpackaging=jar
>> >> >> >> -Dfile=/path/to/file
>> >> >> >>
>> >> >> >>  Alternatively, if you host your own repository you can deploy
>> the
>> >> >> >> file
>> >> >> >> there:
>> >> >> >>      mvn deploy:deploy-file -DgroupId=org.apache.mahout
>> >> >> >> -DartifactId=mahout-core -Dversion=0.5-SNAPSHOT -Dpackaging=jar
>> >> >> >> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>> >> >> >>
>> >> >> >>  Path to dependency:
>> >> >> >>        1) org.apache.mahout:mahout-examples:jar:0.5-SNAPSHOT
>> >> >> >>        2) org.apache.mahout:mahout-core:jar:0.5-SNAPSHOT
>> >> >> >>
>> >> >> >> 2) org.apache.mahout:mahout-utils:jar:0.5-SNAPSHOT
>> >> >> >>
>> >> >> >>  Try downloading the file manually from the project website.
>> >> >> >>
>> >> >> >>  Then, install it using the command:
>> >> >> >>      mvn install:install-file -DgroupId=org.apache.mahout
>> >> >> >> -DartifactId=mahout-utils -Dversion=0.5-SNAPSHOT -Dpackaging=jar
>> >> >> >> -Dfile=/path/to/file
>> >> >> >>
>> >> >> >>  Alternatively, if you host your own repository you can deploy
>> the
>> >> >> >> file
>> >> >> >> there:
>> >> >> >>      mvn deploy:deploy-file -DgroupId=org.apache.mahout
>> >> >> >> -DartifactId=mahout-utils -Dversion=0.5-SNAPSHOT -Dpackaging=jar
>> >> >> >> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>> >> >> >>
>> >> >> >>  Path to dependency:
>> >> >> >>        1) org.apache.mahout:mahout-examples:jar:0.5-SNAPSHOT
>> >> >> >>        2) org.apache.mahout:mahout-utils:jar:0.5-SNAPSHOT
>> >> >> >>
>> >> >> >> ----------
>> >> >> >> 2 required artifacts are missing.
>> >> >> >>
>> >> >> >> for artifact:
>> >> >> >>  org.apache.mahout:mahout-examples:jar:0.5-SNAPSHOT
>> >> >> >>
>> >> >> >> from the specified remote repositories:
>> >> >> >>  Apache Releases
>> >> >> >> (https://repository.apache.org/content/repositories/releases),
>> >> >> >>  central (http://repo1.maven.org/maven2),
>> >> >> >>  maven2-repository.maven.org (http://repo1.maven.org/maven2),
>> >> >> >>  maven2-repository.dev.java.net (
>> http://download.java.net/maven/2),
>> >> >> >>  Apache snapshots
>> >> >> >> (http://people.apache.org/maven-snapshot-repository)
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> [INFO]
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> ------------------------------------------------------------------------
>> >> >> >> [INFO] For more information, run Maven with the -e switch
>> >> >> >> [INFO]
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> ------------------------------------------------------------------------
>> >> >> >> [INFO] Total time: 28 seconds
>> >> >> >> [INFO] Finished at: Sat Mar 05 20:33:13 UTC 2011
>> >> >> >> [INFO] Final Memory: 16M/40M
>> >> >> >> [INFO]
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> ------------------------------------------------------------------------
>> >> >> >>
>> >> >> >> --
>> >> >> >> Michael Nute
>> >> >> >> mike.n...@gmail.com
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Michael Nute
>> >> >> mike.n...@gmail.com
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Michael Nute
>> >> mike.n...@gmail.com
>> >
>> >
>>
>>
>>
>> --
>> Michael Nute
>> mike.n...@gmail.com
>>
>
>

Reply via email to