mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <sro...@gmail.com>
Subject Re: Help with running taste-demo on mahout-examples-0.7-SNAPSHOT.jar
Date Fri, 18 May 2012 21:22:13 GMT
Yes it's just like making any other servlet-based app. You can find
the servlet (and Axis JWS file if you want) and web.xml in the
project. Just put it together with compiled code in a .war file.

On Fri, May 18, 2012 at 10:09 PM, Dhananjay Sampath
<dhananjay.sampath@gmail.com> wrote:
> Thanks Sean, for the super quick response!
> I wish I asked this question 3 days ago !
>
> Ok, so I have to package my own recommender. Got it. The only place where I
> found some instructions on packaging a (custom/example) recommender is
> Manuel's response to Ben on the User archives (
> http://mail-archives.apache.org/mod_mbox/mahout-user/201203.mbox/%3C470A3285-72DB-4174-B02A-4B6B68246280@gmx.de%3E
> ).
> Is that the best source right now or is there a more recent version of a
> How-to for web packaging of a recommender ?
>
> Again, thanks for your help ! Really appreciate it.
>
> best,
> DJ
>
> On Fri, May 18, 2012 at 11:12 AM, Sean Owen <srowen@gmail.com> wrote:
>
>> (You can use -DskipTests in Maven. You don't need to run the very
>> lengthy tests.)
>>
>> The bad news is that this example only worked in 0.5, and was removed
>> in 0.6. The underlying pieces are still there, you just would have to
>> assemble the WAR yourself.
>>
>> I'll try to figure out how to remove this; I didn't know this was
>> still posted anywhere.
>>
>> Sean
>>
>> On Fri, May 18, 2012 at 7:07 PM, Dhananjay Sampath
>> <dhananjay.sampath@gmail.com> wrote:
>> > Hi mahout-devs/mahout-users,
>> >
>> > I am here stuck on trying to get the mahout taste app demo working and
>> > could really use some help. I know that several people have come before
>> me
>> > asking the same question and I have gone through almost all of them and
>> > have met with little success.
>> >
>> > I followed all of the instructions from (
>> > http://mahout.apache.org/taste.html#demo) and have managed to installed
>> > mahout.
>> > Upto Step 5 - things are jim and dandy.
>> > * Step 5 - runs all of the tests (for hours) but finished without
>> creating
>> > a grouplens.jar file.
>> >
>> > ? On step 3 do I have to create that entire directory structure ? No
>> > directories after trunk/ exists by default - in which case I believe the
>> > document should add that we should create a directory with a mkdir -p
>> > command.
>> > ? I tried using the mahout-examples-0.7-SNAPSHOT.jar instead of a
>> > grouplens.jar in the trunk/examples/target/ directory, as that was the
>> only
>> > other jar that was created but met with little success. Should I create
>> the
>> > grouplens.jar somehow?
>> >
>> > So in short,
>> > 1. I created the entire directory structure by hand.
>> > 2. Copied the .dat files in to the newly created location.
>> > 3. With no grouplens.jar file, I copied mahout-examples.....jar file into
>> > the trunk/taste-web directory
>> > 4. Running 'mvn package' errors out since there is no pom.xml file in
>> this
>> > location.
>> >
>> > Clearly, I am off at some point. If you could point it out maybe I can
>> help
>> > document a more detailed approach to getting the taste demo to work for
>> the
>> > community.
>> >
>> > Thanks for your time,
>> >
>> > best,
>> > DJ
>> >
>> > p.s:
>> >
>> > mvn install completes successfully.
>> > ---
>> > Are there any other logs that can help someone, help me, (feeling like
>> > Jerry Mcguire now).
>> >
>> >
>> > INFO]
>> > [INFO]
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Reactor Summary:
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Apache Mahout ......................................... SUCCESS
>> > [3.527s]
>> > [INFO] Mahout Build Tools .................................... SUCCESS
>> > [1.190s]
>> > [INFO] Mahout Math ........................................... SUCCESS
>> > [11.547s]
>> > [INFO] Mahout Core ........................................... SUCCESS
>> > [55:20.021s]
>> > [INFO] Mahout Integration .................................... SUCCESS
>> > [1:20.776s]
>> > [INFO] Mahout Examples ....................................... SUCCESS
>> > [1:08.600s]
>> > [INFO] Mahout Release Package ................................ SUCCESS
>> > [0.020s]
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESSFUL
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Total time: 58 minutes 6 seconds
>> > [INFO] Finished at: Fri May 18 11:41:47 UTC 2012
>> > [INFO] Final Memory: 84M/1168M
>> > [INFO]
>> > ------------------------------------------------------------------------
>> >
>> > --
>> > --
>> > Luminous beings we are, not this crude matter
>>
>
>
>
> --
> --
> Luminous beings we are, not this crude matter

Mime
View raw message