Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5AFE0200D37 for ; Thu, 9 Nov 2017 10:52:20 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 589F1160BEF; Thu, 9 Nov 2017 09:52:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0282A1609E5 for ; Thu, 9 Nov 2017 10:52:18 +0100 (CET) Received: (qmail 55583 invoked by uid 500); 9 Nov 2017 09:52:18 -0000 Mailing-List: contact user-help@predictionio.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@predictionio.apache.org Delivered-To: mailing list user@predictionio.apache.org Received: (qmail 55573 invoked by uid 99); 9 Nov 2017 09:52:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2017 09:52:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3CAC4D47C7 for ; Thu, 9 Nov 2017 09:52:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.289 X-Spam-Level: X-Spam-Status: No, score=-0.289 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_SHORT=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=vicomtech-org.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id aJuecfrxV1uX for ; Thu, 9 Nov 2017 09:52:14 +0000 (UTC) Received: from mail-wr0-f174.google.com (mail-wr0-f174.google.com [209.85.128.174]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 32E3160F64 for ; Thu, 9 Nov 2017 09:52:14 +0000 (UTC) Received: by mail-wr0-f174.google.com with SMTP id j15so5004888wre.8 for ; Thu, 09 Nov 2017 01:52:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vicomtech-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SIaRtw/ehEYXoTOxUm1zalk/4rsBQLYa7zfRDZ/R5d4=; b=w1EYOYuTJLDQ05AAUhQ2ijxl3Ln/qA8g+RS9mSdyJLQWFegFLYJJXj0D85wtqRyddx EnVmSz3dOnaZGaX+yIP2Nyrd/HAhxUsvO7BLO4lxaBJie4nVYiXt8uuzbZT2wMYuqW2E U9Xf1Hcf9HzT63BWMCLYTb979qFR7rSZ1bDnIT1opyGpEhqZYfXmNXM3dDWfVaVjvI1X BPRumsKQIrnrIR0GXm47ShAaL30BilvGna+8uD8jUi7xCwMqmtev/7xRzGtvoIuujOli vXcV/PUKfZboggd0vbKq78OYb2QNkGsesNuydhkDyfKSHa9PicRKkCcqpH/EQ2JqsSTu dXrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SIaRtw/ehEYXoTOxUm1zalk/4rsBQLYa7zfRDZ/R5d4=; b=JldjMEzntO1w1FdCAtKoFmh4Z4EM1E2FT4XX4h98SNBuqloEWP+HTJHpRVber56gz+ n4ihhArcsRjXWlafBCf7gZw+QhqR7RwkboZsPOLp9AckUqAHHeBu44MHIJ1B0cSCxxEH tKL99EpHKaB4CTf57Ii7nf2uTv5uc4RbjLtCBIEMB62XR0Zt0/LqDFuKgRMVYGoF6o2O BIm6R6V5cHMW0zueodxq92Q7eVhzRJJaGnIl/rA+j4jV/8hYsG3zoPj9ewC0nInTJwYo O9Mczepu/RGgPBq0HqeG3KmSH6INQGDMmFKvMaXchfbQCK6D2KDq0F0C9wH6jmvKISK2 Chxw== X-Gm-Message-State: AJaThX6qGXYN4BjHI8sDh4yFJvX2a+kBVmcb5OiaCJ80js3f9upQTVQH 9A+FlwjiuAevvlmFaoLWKt+QxJVCgwpNC0VR2h42ng== X-Google-Smtp-Source: ABhQp+SppVO5h/IVnPx/Nug6IN+mFn51Q1WpFCC310sXBEWeqlY5qCX6sjxOZIKyf386Ox+R1pqYFeJjf9RzNFqDwcE= X-Received: by 10.223.197.131 with SMTP id m3mr3079565wrg.0.1510221133700; Thu, 09 Nov 2017 01:52:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.22.149 with HTTP; Thu, 9 Nov 2017 01:52:13 -0800 (PST) In-Reply-To: References: <26024497-1DA8-4A66-A137-D8C832F2DBE8@occamsmachete.com> <2552D01F-E2D9-4705-A195-172C7743E986@radiozero.it> <984CC171-91AA-4FE8-8326-BFC9E3319820@occamsmachete.com> <66CB74E2-BBD1-4C53-B7F9-3F60F3C71614@radiozero.it> <6C4E42A9-561B-4F6E-A347-6B97DEEBDBAC@occamsmachete.com> <28C6F329-3DB1-42AA-8238-964FF2590C80@occamsmachete.com> <39464C17-E3F6-4F21-873B-925302FAF1E0@occamsmachete.com> From: =?UTF-8?Q?Noelia_Os=C3=A9s_Fern=C3=A1ndez?= Date: Thu, 9 Nov 2017 10:52:13 +0100 Message-ID: Subject: Re: PIO + ES5 + Universal Recommender To: user@predictionio.apache.org Cc: actionml-user Content-Type: multipart/alternative; boundary="089e082437f434f750055d89c28e" archived-at: Thu, 09 Nov 2017 09:52:20 -0000 --089e082437f434f750055d89c28e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It worked! Thank you Pat! On 8 November 2017 at 17:52, Pat Ferrel wrote: > =E2=80=9Cmvn not found=E2=80=9D, install mvn. > > This step will go away with the next Mahout release. > > > On Nov 8, 2017, at 2:41 AM, Noelia Os=C3=A9s Fern=C3=A1ndez > wrote: > > Thanks Pat! > > I have followed the instructions on the *README.md* file of the mahout > folder: > > > > > *You will need to build this using Scala 2.11. Follow these instructions = - > install Scala 2.11 as your default version* > > I've done this with the following commands: > > # scala install > wget www.scala-lang.org/files/archive/scala-2.11.7.deb > sudo dpkg -i scala-2.11.7.deb > # sbt installation > echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a > /etc/apt/sources.list.d/sbt.list > sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 > --recv 642AC823 > sudo apt-get update > sudo apt-get install sbt > > > > > * - download this repo: `git clone https://github.com/actionml/mahout.git= ` > - checkout the speedup branch= : > `git checkout sparse-speedup-13.0` - edit the build script > `build-scala-2.11.sh ` to put the custom rep= o > where you want it* > This file is now: > > #!/usr/bin/env bash > > git checkout sparse-speedup-13.0 > > mvn clean package -DskipTests -Phadoop2 -Dspark.version=3D2.1.1 > -Dscala.version=3D2.11.11 -Dscala.compat.version=3D2.11 > > echo "Make sure to put the custom repo in the right place for your > machine!" > echo "This location will have to be put into the Universal Recommenders > build.sbt" > > mvn deploy:deploy-file -Durl=3Dfile:///home/ubuntu/PredictionIO/apache- > predictionio-0.12.0-incubating/PredictionIO-0.12. > 0-incubating/vendors/.custom-scala-m2/repo/ -Dfile=3D//home/ubuntu/ > PredictionIO/apache-predictionio-0.12.0-incubating/PredictionIO-0.12. > 0-incubating/vendors/mahout/hdfs/target/mahout-hdfs-0.13.0.jar > -DgroupId=3Dorg.apache.mahout -DartifactId=3Dmahout-hdfs -Dversion=3D0.13= .0 > mvn deploy:deploy-file -Durl=3Dfile:///home/ubuntu/PredictionIO/apache- > predictionio-0.12.0-incubating/PredictionIO-0.12. > 0-incubating/vendors/.custom-scala-m2/repo/ -Dfile=3D//home/ubuntu/ > PredictionIO/apache-predictionio-0.12.0-incubating/PredictionIO-0.12. > 0-incubating/vendors/mahout/math/target/mahout-math-0.13.0.jar > -DgroupId=3Dorg.apache.mahout -DartifactId=3Dmahout-math -Dversion=3D0.13= .0 > mvn deploy:deploy-file -Durl=3Dfile:///home/ubuntu/PredictionIO/apache- > predictionio-0.12.0-incubating/PredictionIO-0.12. > 0-incubating/vendors/.custom-scala-m2/repo/ -Dfile=3D//home/ubuntu/ > PredictionIO/apache-predictionio-0.12.0-incubating/PredictionIO-0.12. > 0-incubating/vendors/mahout/math-scala/target/mahout-math-scala_2.11-0.13= .0.jar > -DgroupId=3Dorg.apache.mahout -DartifactId=3Dmahout-math-scala_2.11 > -Dversion=3D0.13.0 > mvn deploy:deploy-file -Durl=3Dfile:///home/ubuntu/PredictionIO/apache- > predictionio-0.12.0-incubating/PredictionIO-0.12. > 0-incubating/vendors/.custom-scala-m2/repo/ -Dfile=3D//home/ubuntu/ > PredictionIO/apache-predictionio-0.12.0-incubating/PredictionIO-0.12. > 0-incubating/vendors/mahout/spark/target/mahout-spark_2.11-0.13.0.jar > -DgroupId=3Dorg.apache.mahout -DartifactId=3Dmahout-spark_2.11 -Dversion= =3D0.13.0 > > > * - execute the build script `build-scala-2.11.sh > `* > > This outputed the following: > > $ ./build-scala-2.11.sh > M build-scala-2.11.sh > Already on 'sparse-speedup-13.0' > Your branch is up-to-date with 'origin/sparse-speedup-13.0'. > ./build-scala-2.11.sh: line 5: mvn: command not found > Make sure to put the custom repo in the right place for your machine! > This location will have to be put into the Universal Recommenders build.s= bt > ./build-scala-2.11.sh: line 10: mvn: command not found > ./build-scala-2.11.sh: line 11: mvn: command not found > ./build-scala-2.11.sh: line 12: mvn: command not found > ./build-scala-2.11.sh: line 13: mvn: command not found > > > Do I need to install MAVEN? If so, it is not said in the PredictionIO > installation instructions nor on the Mahout instructions. > > I apologise if this is an obvious question for those familiar with the > Apache projects, but for an outsider like me it helps when everything (ev= en > the most silly details) is spelled out. Thanks a lot for all your > invaluable help!! > > > On 7 November 2017 at 20:58, Pat Ferrel wrote: > >> Very sorry, it was incorrectly set to private. Try it again. >> >> >> >> >> On Nov 7, 2017, at 7:26 AM, Pat Ferrel wrote: >> >> https://github.com/actionml/mahout >> >> >> > > > -- > > > Noelia Os=C3=A9s Fern=C3=A1ndez, PhD > Senior Researcher | > Investigadora Senior > > noses@vicomtech.org > +[34] 943 30 92 30 > Data Intelligence for Energy and > Industrial Processes | Inteligencia > de Datos para Energ=C3=ADa y Procesos > Industriales > > > > > > member of: > > Legal Notice - Privacy policy > > > --=20 Noelia Os=C3=A9s Fern=C3=A1ndez, PhD Senior Researcher | Investigadora Senior noses@vicomtech.org +[34] 943 30 92 30 Data Intelligence for Energy and Industrial Processes | Inteligencia de Datos para Energ=C3=ADa y Procesos Industriales member of: Legal Notice - Privacy policy --089e082437f434f750055d89c28e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It worked! Thank you Pat!

On 8 November 2017 at 17:52, Pat Ferrel = <pat@occamsmachete.com> wrote:
=E2=80=9Cmvn not found=E2=80= =9D, install mvn.=C2=A0

This step will go away with the = next Mahout release.


On Nov 8, 2017, at 2:41 AM, Noelia Os=C3=A9s Fern=C3=A1ndez &l= t;noses@vicomtech.= org> wrote:

Thanks Pat!

I have f= ollowed the instructions on the README.md file of the mahout folder:=


You will need to build this using Scal= a 2.11. Follow these instructions

=C2=A0- install Scala 2.11 as your= default version

I've done this with the following commands:

# scala install
wget www.scala-lang.org/= files/archive/scala-2.11.7.deb
sudo dpkg -i scala-2.11.7.deb# sbt installation
echo "deb https://dl.bintray.com/sbt/debian /&quo= t; | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv = --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823
sudo apt-get update
sud= o apt-get install sbt

=C2=A0- download this repo: `git clo= ne = https://github.com/actionml/mahout.git`
=C2=A0- checkout the sp= eedup branch: `git checkout sparse-speedup-13.0`
=C2=A0- edit the build = script `build-sca= la-2.11.sh` to put the custom repo where you want it

This file is now:

#!/usr/bin/env bash

git checko= ut sparse-speedup-13.0

mvn clean package -DskipTests -Phadoop2 -Dspa= rk.version=3D2.1.1 -Dscala.version=3D2.11.11 -Dscala.compat.version=3D2.11<= br>
echo "Make sure to put the custom repo in the right place for y= our machine!"
echo "This location will have to be put into the= Universal Recommenders build.sbt"

mvn deploy:deploy-file -Durl= =3Dfile:///home/ubuntu/PredictionIO/apache-predictionio-0.12.0= -incubating/PredictionIO-0.12.0-incubating/vendors/.custom-s= cala-m2/repo/ -Dfile=3D//home/ubuntu/PredictionIO/apache-pred= ictionio-0.12.0-incubating/PredictionIO-0.12.0-incubating/vendors= /mahout/hdfs/target/mahout-hdfs-0.13.0.jar -DgroupId=3Dorg.apache= .mahout -DartifactId=3Dmahout-hdfs -Dversion=3D0.13.0
mvn deploy:deploy-= file -Durl=3Dfile:///home/ubuntu/PredictionIO/apache-predictio= nio-0.12.0-incubating/PredictionIO-0.12.0-incubating/vendors/.cus= tom-scala-m2/repo/ -Dfile=3D//home/ubuntu/PredictionIO/apache= -predictionio-0.12.0-incubating/PredictionIO-0.12.0-incubati= ng/vendors/mahout/math/target/mahout-math-0.13.0.jar -DgroupId=3D= org.apache.mahout -DartifactId=3Dmahout-math -Dversion=3D0.13.0
mvn depl= oy:deploy-file -Durl=3Dfile:///home/ubuntu/PredictionIO/apache-predictionio-0.12.0-incubating/PredictionIO-0.12.0-incubating/ve= ndors/.custom-scala-m2/repo/ -Dfile=3D//home/ubuntu/Predictio= nIO/apache-predictionio-0.12.0-incubating/PredictionIO-0.12.= 0-incubating/vendors/mahout/math-scala/target/mahout-math-scala_2= .11-0.13.0.jar -DgroupId=3Dorg.apache.mahout -DartifactId=3Dmahout-math-scala_2.11 -Dversion=3D0.13.0
mvn deploy:deploy-file -Durl=3Dfile:/= //home/ubuntu/PredictionIO/apache-predictionio-0.12.0-incuba= ting/PredictionIO-0.12.0-incubating/vendors/.custom-scala-m2/repo= / -Dfile=3D//home/ubuntu/PredictionIO/apache-predictionio-0.1= 2.0-incubating/PredictionIO-0.12.0-incubating/vendors/mahout/spark/target/mahout-spark_2.11-0.13.0.jar -DgroupId=3Dorg.apache.maho= ut -DartifactId=3Dmahout-spark_2.11 -Dversion=3D0.13.0

=C2=A0- ex= ecute the build script `build-scala-2.11.sh`

This outputed the following:


$ ./build-scala-2.11.sh
M= =C2=A0=C2=A0=C2=A0 build-scala-2.11.sh
Already on 'sparse-speedup-13.0'
Yo= ur branch is up-to-date with 'origin/sparse-speedup-13.0'.
./build-scala-2.11.sh<= /a>: line 5: mvn: command not found
Make sure to put the custom repo in = the right place for your machine!
This location will have to be put into= the Universal Recommenders build.sbt
./
build-scala-2.11.sh: line 10: mvn: command no= t found
./buil= d-scala-2.11.sh: line 11: mvn: command not found
./build-scala-2.11.sh: line 12: = mvn: command not found
./build-scala-2.11.sh: line 13: mvn: command not found
=

Do I need to install MAVEN? If so, it is not sa= id in the PredictionIO installation instructions nor on the Mahout instruct= ions.

I apologise if this is an obvious quest= ion for those familiar with the Apache projects, but for an outsider like m= e it helps when everything (even the most silly details) is spelled out. Th= anks a lot for all your invaluable help!!
=C2=A0

On 7 November = 2017 at 20:58, Pat Ferrel <pat@occamsmachete.com> wrote:=
Very sorry, it was incorrectly set to private. Try it again.


<= div>

On Nov 7, 2017, at 7:26 AM, Pat Ferrel <= ;pat@occamsmache= te.com> wrote:

=



--
<= td>
Noelia Os=C3=A9s Fern=C3=A1ndez, PhD
Senior Researcher = |
Investigadora Senior


noses@vicomtech.org
+[34]=C2=A0943= =C2=A030=C2=A092=C2=A030
Data Intelligence for Energy and<= br>Industrial Processes | Inteligencia
de Datos para Energ=C3=ADa y Proc= esos
Industriales


=C2=A0=C2=A0

member of:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

Legal Notice - Privac= y policy




--

Noelia Os=C3=A9s Fern=C3=A1ndez, PhD
Senior Researcher |
Inv= estigadora Senior


noses@vicomtech.org
Data Intelligen= ce for Energy and
Industrial Processes | Inteligencia
de Datos para E= nerg=C3=ADa y Procesos
Industriales


=C2=A0=C2=A0

member of:= =C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0

Legal Notice - Privacy policy
--089e082437f434f750055d89c28e--