predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Szeto <don...@apache.org>
Subject Re: Recommendation template
Date Wed, 18 Oct 2017 15:40:58 GMT
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’s 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és Fernández <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 the 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
> 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-incubating/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-incubating/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-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-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-parallel-recommendation-assembly-0.1-SNAPSHOT-deps.jar
> [INFO] [Engine$] [success] Total time: 1 s, completed 18-Oct-2017 17:07:46
> [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
>
>
>
>
>
>
>
>

Mime
View raw message