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 9E30C200D1E for ; Wed, 18 Oct 2017 17:41:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9C98E1609EE; Wed, 18 Oct 2017 15:41:17 +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 933B8160BEA for ; Wed, 18 Oct 2017 17:41:16 +0200 (CEST) Received: (qmail 28382 invoked by uid 500); 18 Oct 2017 15:41:15 -0000 Mailing-List: contact user-help@predictionio.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@predictionio.incubator.apache.org Delivered-To: mailing list user@predictionio.incubator.apache.org Received: (qmail 28373 invoked by uid 99); 18 Oct 2017 15:41:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Oct 2017 15:41:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8FC031A2487 for ; Wed, 18 Oct 2017 15:41:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.321 X-Spam-Level: X-Spam-Status: No, score=-1.321 tagged_above=-999 required=6.31 tests=[AC_DIV_BONANZA=0.001, HTML_MESSAGE=2, KAM_LINEPADDING=1.2, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id qERaGzaiA0Dv for ; Wed, 18 Oct 2017 15:41:12 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 43F6B5F121 for ; Wed, 18 Oct 2017 15:41:11 +0000 (UTC) Received: (qmail 28216 invoked by uid 99); 18 Oct 2017 15:41:10 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Oct 2017 15:41:10 +0000 Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.161.179]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 2AE7B1A012F for ; Wed, 18 Oct 2017 15:41:10 +0000 (UTC) Received: by mail-yw0-f179.google.com with SMTP id k11so904497ywh.1 for ; Wed, 18 Oct 2017 08:41:10 -0700 (PDT) X-Gm-Message-State: AMCzsaVGFiANfZhO0DaND3kkJYPVaUBI4ieGndcQkqO6MMZ9pIVu/Z9W jiiBiD83h48ULrKBLjSiuqxr11i961T4MwGm4NE= X-Google-Smtp-Source: ABhQp+STNrZCbuXMLd0YtKb9XCDq11fpfTlO0iB4jzF2v4vhNI7fhonmw2wVTI6TYk2wIJMC1oCS6jl9bdOrpCCarxw= X-Received: by 10.129.165.17 with SMTP id c17mr1638612ywh.171.1508341269510; Wed, 18 Oct 2017 08:41:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Donald Szeto Date: Wed, 18 Oct 2017 15:40:58 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Recommendation template To: user@predictionio.incubator.apache.org Content-Type: multipart/alternative; boundary="94eb2c128c3c91c461055bd41146" archived-at: Wed, 18 Oct 2017 15:41:17 -0000 --94eb2c128c3c91c461055bd41146 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hey Noelia, Since you are using PIO 0.11 you may want to use the previous template version that was targeted for PIO 0.11. The latest version is targeted to 0.12=E2=80=99s default stack, which is Scala 2.11. The only difference between these two template versions is targeting different PIO versions. There is no feature difference. Regards, Donald On Wed, Oct 18, 2017 at 8:14 AM Noelia Os=C3=A9s Fern=C3=A1ndez wrote: > Hi all, > > Seeing as I couldn't get the UR template to work I decided to try my luck > with other templates. I have now tried with the Recommendation template a= s > downloaded from: > > https://github.com/apache/incubator-predictionio-template-recommender > > I'm using basically the same setup as before: > > predictionio-0.11.0-incubating > elasticsearch 1.7.6 > hbase 1.2.6 > spark-1.6.3-bin-hadoop2.6 > > And the error I get while running the integration test is the following: > > The data import seems to run correctly and then > > Building and deploying model > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in > [jar:file:/home/VICOMTECH/noses/PredictionIO/apache-predictionio-0.11.0-i= ncubating/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hdfs-assembly-0= .11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > [jar:file:/home/VICOMTECH/noses/PredictionIO/apache-predictionio-0.11.0-i= ncubating/PredictionIO-0.11.0-incubating/lib/pio-assembly-0.11.0-incubating= .jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an > explanation. > SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] > [WARN] [Template$] > /home/VICOMTECH/noses/PredictionIO/apache-predictionio-0.11.0-incubating/= PredictionIO-0.11.0-incubating/recomapp/template.json > does not exist. Template metadata will not be available. (This is safe to > ignore if you are not working on a template.) > [INFO] [Engine$] Using command > '/home/VICOMTECH/noses/PredictionIO/apache-predictionio-0.11.0-incubating= /PredictionIO-0.11.0-incubating/sbt/sbt' > at > /home/VICOMTECH/noses/PredictionIO/apache-predictionio-0.11.0-incubating/= PredictionIO-0.11.0-incubating/recomapp > to build. > [INFO] [Engine$] If the path above is incorrect, this process will fail. > [INFO] [Engine$] Uber JAR disabled. Making sure > lib/pio-assembly-0.11.0-incubating.jar is absent. > [INFO] [Engine$] Going to run: > /home/VICOMTECH/noses/PredictionIO/apache-predictionio-0.11.0-incubating/= PredictionIO-0.11.0-incubating/sbt/sbt > package assemblyPackageDependency in > /home/VICOMTECH/noses/PredictionIO/apache-predictionio-0.11.0-incubating/= PredictionIO-0.11.0-incubating/recomapp > [INFO] [Engine$] [info] Loading project definition from > /home/VICOMTECH/noses/PredictionIO/apache-predictionio-0.11.0-incubating/= PredictionIO-0.11.0-incubating/recomapp/project > [INFO] [Engine$] [info] Set current project to > template-scala-parallel-recommendation (in build > file:/home/VICOMTECH/noses/PredictionIO/apache-predictionio-0.11.0-incuba= ting/PredictionIO-0.11.0-incubating/recomapp/) > [INFO] [Engine$] [success] Total time: 1 s, completed 18-Oct-2017 17:07:4= 5 > [INFO] [Engine$] [info] Including from cache: scala-library-2.11.8.jar > [INFO] [Engine$] [info] Checking every *.class/*.jar file's SHA-1. > [INFO] [Engine$] [info] Merging files... > [INFO] [Engine$] [warn] Merging 'META-INF/MANIFEST.MF' with strategy > 'discard' > [INFO] [Engine$] [warn] Strategy 'discard' was applied to a file > [INFO] [Engine$] [info] Assembly up to date: > /home/VICOMTECH/noses/PredictionIO/apache-predictionio-0.11.0-incubating/= PredictionIO-0.11.0-incubating/recomapp/target/scala-2.11/template-scala-pa= rallel-recommendation-assembly-0.1-SNAPSHOT-deps.jar > [INFO] [Engine$] [success] Total time: 1 s, completed 18-Oct-2017 17:07:4= 6 > [INFO] [Engine$] Compilation finished successfully. > [INFO] [Engine$] Looking for an engine... > [ERROR] [Engine$] No engine found. Your build might have failed. Aborting= . > > Why is this happening? How can I fix this? > > Thank you all for your help. > Noelia > > > > > > > > --94eb2c128c3c91c461055bd41146 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey Noelia,

Since you are using PIO 0.11 you may want to use the previous te= mplate version that was targeted for PIO 0.11. The latest version is target= ed to 0.12=E2=80=99s default stack, which is Scala 2.11.

The only difference between these two temp= late versions is targeting different PIO versions. There is no feature diff= erence.

Regards,
Donald

On Wed, Oct= 18, 2017 at 8:14 AM Noelia Os=C3=A9s Fern=C3=A1ndez <noses@vicomtech.org> wrote:
Hi all,

Seeing as I couldn't get the UR template to = work I decided to try my luck with other templates. I have now tried with t= he Recommendation template as downloaded from:

https://github.com/apache/incubator-predictionio-template-recommender
I'm using basically the same setup as before:

predictionio-0.11.0-incubating
elasticsearch 1.7.6
hb= ase 1.2.6
spark-1.6.3-bin-hadoop2.6

And the error I g= et while running the integration test is the following:

The da= ta import seems to run correctly and then

Building and deploying mod= el
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found b= inding in [jar:file:/home/VICOMTECH/noses/PredictionIO/apache-predictionio-= 0.11.0-incubating/PredictionIO-0.11.0-incubating/lib/spark/pio-data-hdfs-as= sembly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
S= LF4J: Found binding in [jar:file:/home/VICOMTECH/noses/PredictionIO/apache-= predictionio-0.11.0-incubating/PredictionIO-0.11.0-incubating/lib/pio-assem= bly-0.11.0-incubating.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4= J: See http://www.slf4j.org/codes.html#multiple_bindings for an ex= planation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerF= actory]
[WARN] [Template$] /home/VICOMTECH/noses/PredictionIO/apache-pre= dictionio-0.11.0-incubating/PredictionIO-0.11.0-incubating/recomapp/templat= e.json does not exist. Template metadata will not be available. (This is sa= fe to ignore if you are not working on a template.)
[INFO] [Engine$] Usi= ng command '/home/VICOMTECH/noses/PredictionIO/apache-predictionio-0.11= .0-incubating/PredictionIO-0.11.0-incubating/sbt/sbt' at /home/VICOMTEC= H/noses/PredictionIO/apache-predictionio-0.11.0-incubating/PredictionIO-0.1= 1.0-incubating/recomapp to build.
[INFO] [Engine$] If the path above is = incorrect, this process will fail.
[INFO] [Engine$] Uber JAR disabled. M= aking sure lib/pio-assembly-0.11.0-incubating.jar is absent.
[INFO] [Eng= ine$] Going to run: /home/VICOMTECH/noses/PredictionIO/apache-predictionio-= 0.11.0-incubating/PredictionIO-0.11.0-incubating/sbt/sbt=C2=A0 package asse= mblyPackageDependency in /home/VICOMTECH/noses/PredictionIO/apache-predicti= onio-0.11.0-incubating/PredictionIO-0.11.0-incubating/recomapp
[INFO] [E= ngine$] [info] Loading project definition from /home/VICOMTECH/noses/Predic= tionIO/apache-predictionio-0.11.0-incubating/PredictionIO-0.11.0-incubating= /recomapp/project
[INFO] [Engine$] [info] Set current project to templat= e-scala-parallel-recommendation (in build file:/home/VICOMTECH/noses/Predic= tionIO/apache-predictionio-0.11.0-incubating/PredictionIO-0.11.0-incubating= /recomapp/)
[INFO] [Engine$] [success] Total time: 1 s, completed 18-Oct= -2017 17:07:45
[INFO] [Engine$] [info] Including from cache: scala-libra= ry-2.11.8.jar
[INFO] [Engine$] [info] Checking every *.class/*.jar file&= #39;s SHA-1.
[INFO] [Engine$] [info] Merging files...
[INFO] [Engine$= ] [warn] Merging 'META-INF/MANIFEST.MF' with strategy 'discard&= #39;
[INFO] [Engine$] [warn] Strategy 'discard' was applied to a= file
[INFO] [Engine$] [info] Assembly up to date: /home/VICOMTECH/noses= /PredictionIO/apache-predictionio-0.11.0-incubating/PredictionIO-0.11.0-inc= ubating/recomapp/target/scala-2.11/template-scala-parallel-recommendation-a= ssembly-0.1-SNAPSHOT-deps.jar
[INFO] [Engine$] [success] Total time: 1 s= , completed 18-Oct-2017 17:07:46
[INFO] [Engine$] Compilation finished s= uccessfully.
[INFO] [Engine$] Looking for an engine...
[ERROR] [Engine$] No engine found. Your b= uild might have failed. Aborting.

Why is this happening= ? How can I fix this?

Thank you all for your help.
Noelia
=

=





--94eb2c128c3c91c461055bd41146--