From user-return-1766-archive-asf-public=cust-asf.ponee.io@predictionio.apache.org Fri Jan 12 03:23:48 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id E6266180656 for ; Fri, 12 Jan 2018 03:23:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D5EBE160C41; Fri, 12 Jan 2018 02:23:48 +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 7BB20160C13 for ; Fri, 12 Jan 2018 03:23:47 +0100 (CET) Received: (qmail 41679 invoked by uid 500); 12 Jan 2018 02:23:45 -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 41669 invoked by uid 99); 12 Jan 2018 02:23:45 -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; Fri, 12 Jan 2018 02:23:45 +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 47EB1C1C65 for ; Fri, 12 Jan 2018 02:23:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.749 X-Spam-Level: ** X-Spam-Status: No, score=2.749 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_OTHER_BAD_TLD=0.75, KAM_SHORT=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=grazitti-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id W7aCS5gi6rrO for ; Fri, 12 Jan 2018 02:23:42 +0000 (UTC) Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 533145F3CD for ; Fri, 12 Jan 2018 02:23:42 +0000 (UTC) Received: by mail-wr0-f194.google.com with SMTP id e41so3690233wre.9 for ; Thu, 11 Jan 2018 18:23:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=grazitti-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=UDegVtEIg85FefRf8cn9A917m7AyNdQAQs3DaUHPZU0=; b=M7V5JeTi+J5dDyrFzedyAzR2/ZRGGgRVWw4FdkX1OzJ6gQAD3zeBCb80Cxze9CwS2F +WXOdGYg99OX0QuuWRkKtVq+2vnOO1SkZrPULbQIJQ3/CTXuwDQGV1aMm4TADNFoIYmS I5A/2iUmFZN+nQPbow7heBoneQqkevry56DVKosiFeSRdaOuQCHCHwrfd7J0RRpDXBOL 41bQZyxcvDipc0n4XINAgGWnoPXe6pE+2t8psAYUEy2VW9LkXwB7XohptgYnESFwgddg FgJqOihmUOo28qOTQ3SfOXV4DsbTWjaZRZrXahudCG1zPrbOWF191NHOYTwDVA6LRAVu 4x5A== 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; bh=UDegVtEIg85FefRf8cn9A917m7AyNdQAQs3DaUHPZU0=; b=hI3CHc+cRWP2My/Pe1yTTagGiMzyu4dAKbdwb1S9LjsIEKfcW9fotHE66ZJshIlvwq Lukm4HPiL2jz+c6Hw0ptboFixxkSJ15IPCPgaaKJVX0jwz2rNjDO1Aj+1F6gmdFvF6Mw +RD34oxx6Wb8vb+WjLHKY1D3expyEDsElAEU8a7G61sxWE9Zw0YBZarorksHzykR1q4r Rn4NWevGI5GGCVMUBO+aanvioN+amEigACMEl1AgoL7G66XIw+O+NtHDhF7hd/FIyMka m7Q/JmxpHDdqVmyaLGQPhrlijCdz9G7pDUJqOgGjaoIHNFEGGrlOtYQBph08Omlf37bk TjyA== X-Gm-Message-State: AKGB3mJKUl7hmx3Hf5FzABpAm8lc6Q4y5R1d/zJoJWUKcxvysnF4HCsf fSokQ6UfaacXegc9Aiz/UvqNJ/lqzXKP0mc93RF7/Q== X-Google-Smtp-Source: ACJfBouzXezVzfQLbYB8/4lA3PR+eNrO3mphUdq0qxPn8BZAOC6ZYNt67NUWcpsJPsl2DGvu1taWjFa+sGDjHriYBBE= X-Received: by 10.223.156.198 with SMTP id h6mr19992938wre.281.1515723821039; Thu, 11 Jan 2018 18:23:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.135.206 with HTTP; Thu, 11 Jan 2018 18:23:40 -0800 (PST) Received: by 10.28.135.206 with HTTP; Thu, 11 Jan 2018 18:23:40 -0800 (PST) In-Reply-To: <33C9BBE5-E746-4BAD-8B20-69718B0E1F30@occamsmachete.com> References: <33C9BBE5-E746-4BAD-8B20-69718B0E1F30@occamsmachete.com> From: Rajesh Jangid Date: Fri, 12 Jan 2018 07:53:40 +0530 Message-ID: Subject: Re: Need Help Setting up prediction IO To: user@predictionio.apache.org Content-Type: multipart/alternative; boundary="f403043a16e8ee5b0e05628af3cb" --f403043a16e8ee5b0e05628af3cb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Well with version PIO 10 I think some dependency is causing trouble in linux, we have figured out a way using Pio for now, and everything is working great. Thanks for the support though. Few question- 1.Does Pio latest support Mongodb or NoSQL? 2.Memory uses by Pio, Is there any max memory limit set, If need be can it be set? Thanks Rajesh On Jan 11, 2018 10:25 PM, "Pat Ferrel" wrote: > The version in the artifact built by Scala should only have the major > version number so 2.10 or 2.11. PIO 0.10.0 needs 2.10. Where, and what > variable did you set to 2.10.4? That is the problem. There will never be = a > lib built for 2.10.4, it will always be 2.10. > > > > On Jan 11, 2018, at 5:15 AM, Daniel O' Shaughnessy < > danieljamesdavid@gmail.com> wrote: > > Basically you need to make sure all your lib dependencies in build.sbt > work together. > > On Thu, 11 Jan 2018 at 13:14 Daniel O' Shaughnessy < > danieljamesdavid@gmail.com> wrote: > >> Maybe try v2.10.4 based on this line: >> >> [INFO] [Console$] [error] com.chuusai:shapeless _2.10, _2.10.4 >> >> I'm unfamiliar with the ubuntu setup for pio so can't help you there I'm >> afraid. >> >> On Thu, 11 Jan 2018 at 05:08 Rajesh Jangid wrote: >> >>> I am trying to run this on ubuntu 16.04 >>> >>> On Thu, Jan 11, 2018 at 10:36 AM, Rajesh Jangid >>> wrote: >>> >>>> Hi, >>>> I have tried once again with 2.10 as well but getting following >>>> dependency error >>>> >>>> [INFO] [Console$] [error] Modules were resolved with conflicting >>>> cross-version suffixes in {file:/home/integration/ >>>> client/PredictionIO-0.10/Engines/MyRecommendation/}myrecommendation: >>>> [INFO] [Console$] [error] com.chuusai:shapeless _2.10, _2.10.4 >>>> [INFO] [Console$] java.lang.RuntimeException: Conflicting cross-versio= n >>>> suffixes in: com.chuusai:shapeless >>>> [INFO] [Console$] at scala.sys.package$.error(package.scala:27) >>>> [INFO] [Console$] at sbt.ConflictWarning$.processCrossVersioned( >>>> ConflictWarning.scala:46) >>>> [INFO] [Console$] at sbt.ConflictWarning$.apply( >>>> ConflictWarning.scala:32) >>>> [INFO] [Console$] at sbt.Classpaths$$anonfun$100. >>>> apply(Defaults.scala:1300) >>>> [INFO] [Console$] at sbt.Classpaths$$anonfun$100. >>>> apply(Defaults.scala:1297) >>>> [INFO] [Console$] at scala.Function1$$anonfun$ >>>> compose$1.apply(Function1.scala:47) >>>> [INFO] [Console$] at sbt.$tilde$greater$$anonfun$$ >>>> u2219$1.apply(TypeFunctions.scala:40) >>>> [INFO] [Console$] at sbt.std.Transform$$anon$4.work >>>> (System.scala:63) >>>> [INFO] [Console$] at sbt.Execute$$anonfun$submit$1$ >>>> $anonfun$apply$1.apply(Execute.scala:228) >>>> [INFO] [Console$] at sbt.Execute$$anonfun$submit$1$ >>>> $anonfun$apply$1.apply(Execute.scala:228) >>>> [INFO] [Console$] at sbt.ErrorHandling$.wideConvert(ErrorHandling. >>>> scala:17) >>>> [INFO] [Console$] at sbt.Execute.work >>>> (Execute.scala:237) >>>> [INFO] [Console$] at sbt.Execute$$anonfun$submit$1. >>>> apply(Execute.scala:228) >>>> [INFO] [Console$] at sbt.Execute$$anonfun$submit$1. >>>> apply(Execute.scala:228) >>>> [INFO] [Console$] at sbt.ConcurrentRestrictions$$ >>>> anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) >>>> [INFO] [Console$] at sbt.CompletionService$$anon$2. >>>> call(CompletionService.scala:28) >>>> [INFO] [Console$] at java.util.concurrent. >>>> FutureTask.run(FutureTask.java:266) >>>> [INFO] [Console$] at java.util.concurrent. >>>> Executors$RunnableAdapter.call(Executors.java:511) >>>> [INFO] [Console$] at java.util.concurrent. >>>> FutureTask.run(FutureTask.java:266) >>>> [INFO] [Console$] at java.util.concurrent. >>>> ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >>>> [INFO] [Console$] at java.util.concurrent. >>>> ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >>>> [INFO] [Console$] at java.lang.Thread.run(Thread.java:745) >>>> [INFO] [Console$] [error] (*:update) Conflicting cross-version suffixe= s >>>> in: com.chuusai:shapeless >>>> [INFO] [Console$] [error] Total time: 6 s, completed Jan 11, 2018 >>>> 5:03:51 AM >>>> [ERROR] [Console$] Return code of previous step is 1. Aborting. >>>> >>>> >>>> On Wed, Jan 10, 2018 at 10:03 PM, Daniel O' Shaughnessy < >>>> danieljamesdavid@gmail.com> wrote: >>>> >>>>> I've pulled down this version without any modifications and run with >>>>> pio v0.10 on a mac and it builds with no issues. >>>>> >>>>> However, when I add in scalaVersion :=3D "2.11.8" to build.sbt I get = a >>>>> dependency error. >>>>> >>>>> pio v0.10 supports scala 2.10 so you need to switch to this to run! >>>>> >>>>> On Wed, 10 Jan 2018 at 13:47 Rajesh Jangid >>>>> wrote: >>>>> >>>>>> Yes, v0.5.0 >>>>>> >>>>>> On Jan 10, 2018 7:07 PM, "Daniel O' Shaughnessy" < >>>>>> danieljamesdavid@gmail.com> wrote: >>>>>> >>>>>>> Is this the template you're using? >>>>>>> >>>>>>> https://github.com/apache/predictionio-template-ecom-recommender >>>>>>> >>>>>>> On Wed, 10 Jan 2018 at 13:16 Rajesh Jangid >>>>>>> wrote: >>>>>>> >>>>>>>> Yes, >>>>>>>> We have dependency with elastic and we have elastic 1.4.4 >>>>>>>> already running. We Do not want to run another elastic instance. >>>>>>>> Latest prediction IO does not support elastic 1.4.4 >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Jan 10, 2018 at 6:25 PM, Daniel O' Shaughnessy < >>>>>>>> danieljamesdavid@gmail.com> wrote: >>>>>>>> >>>>>>>>> Strange....do you absolutely need to run this with pio v0.10? >>>>>>>>> >>>>>>>>> On Wed, 10 Jan 2018 at 12:50 Rajesh Jangid >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> {"pio": {"version": { "min": "0.10.0-incubating" }}} >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Wed, Jan 10, 2018 at 6:16 PM, Daniel O' Shaughnessy < >>>>>>>>>> danieljamesdavid@gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> OK that looks fine. What version is PredictionIO set to in >>>>>>>>>>> template.json? >>>>>>>>>>> >>>>>>>>>>> On Wed, 10 Jan 2018 at 12:38 Rajesh Jangid >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> *pwd* output :- >>>>>>>>>>>> /home/integration/client/PredictionIO-0.10/Engines/Recommender >>>>>>>>>>>> >>>>>>>>>>>> *ls* output :- >>>>>>>>>>>> build.sbt data engine.json importdata LICENSE.txt >>>>>>>>>>>> manifest.json pio.log project README.md src target templ= ate.json >>>>>>>>>>>> >>>>>>>>>>>> Following command is used to build the template:- >>>>>>>>>>>> /home/integration/client/PredictionIO-0.10/predictionio-0.10.0= - >>>>>>>>>>>> incubating/PredictionIO-0.10.0-incubating/bin/pio build >>>>>>>>>>>> --verbose >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Wed, Jan 10, 2018 at 5:39 PM, Daniel O' Shaughnessy < >>>>>>>>>>>> danieljamesdavid@gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> wherever you're starting your engine can you type pwd and >>>>>>>>>>>>> report the result back? >>>>>>>>>>>>> >>>>>>>>>>>>> On Wed, 10 Jan 2018 at 11:40 Rajesh Jangid < >>>>>>>>>>>>> rajeshj@grazitti.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>> I have tried different template as well but still unable >>>>>>>>>>>>>> to get it to work, Getting same error log. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Wed, Jan 10, 2018 at 2:52 PM, Rajesh Jangid < >>>>>>>>>>>>>> rajeshj@grazitti.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Yes, I have modified engine.js file with app name and then >>>>>>>>>>>>>>> executed command in same folder. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Wed, Jan 10, 2018 at 2:21 PM, Noelia Os=C3=A9s Fern=C3= =A1ndez < >>>>>>>>>>>>>>> noses@vicomtech.org> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I've gotten this error when I've run pio build in a folder >>>>>>>>>>>>>>>> with no engine.json file. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Have you checked you are running the command in the right >>>>>>>>>>>>>>>> folder? i.e. a folder that has an engine.json file... >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>>>> Noelia >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On 10 January 2018 at 07:34, Rajesh Jangid < >>>>>>>>>>>>>>>> rajeshj@grazitti.com> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>>>>> I have been trying to setup prediction IO's ecommerce >>>>>>>>>>>>>>>>> recommendation template. I was able to test it on the lat= est version of >>>>>>>>>>>>>>>>> prediction IO but for some reason I needed to use 0.10 re= lease of >>>>>>>>>>>>>>>>> prediction IO, the template dosn't seem to work with this= release. >>>>>>>>>>>>>>>>> Following is the verbose output while building template -= > >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> user@linux:/MyRecommendation# ../../predictionio-0.10.0- >>>>>>>>>>>>>>>>> incubating/PredictionIO-0.10.0-incubating/bin/pio build >>>>>>>>>>>>>>>>> --verbose >>>>>>>>>>>>>>>>> [INFO] [Console$] Using existing engine manifest JSON at >>>>>>>>>>>>>>>>> /home/integration/client/PredictionIO-0.10/Engines/ >>>>>>>>>>>>>>>>> MyRecommendation/manifest.json >>>>>>>>>>>>>>>>> [INFO] [Console$] Using command '/home/integration/client= / >>>>>>>>>>>>>>>>> PredictionIO-0.10/predictionio-0.10.0- >>>>>>>>>>>>>>>>> incubating/PredictionIO-0.10.0-incubating/sbt/sbt' at the >>>>>>>>>>>>>>>>> current working directory to build. >>>>>>>>>>>>>>>>> [INFO] [Console$] If the path above is incorrect, this >>>>>>>>>>>>>>>>> process will fail. >>>>>>>>>>>>>>>>> [INFO] [Console$] Uber JAR disabled. Making sure >>>>>>>>>>>>>>>>> lib/pio-assembly-0.10.0-incubating.jar is absent. >>>>>>>>>>>>>>>>> [INFO] [Console$] Going to run: /home/integration/client/ >>>>>>>>>>>>>>>>> PredictionIO-0.10/predictionio-0.10.0- >>>>>>>>>>>>>>>>> incubating/PredictionIO-0.10.0-incubating/sbt/sbt >>>>>>>>>>>>>>>>> package assemblyPackageDependency >>>>>>>>>>>>>>>>> [INFO] [Console$] [info] Loading project definition from >>>>>>>>>>>>>>>>> /home/integration/client/PredictionIO-0.10/Engines/ >>>>>>>>>>>>>>>>> MyRecommendation/project >>>>>>>>>>>>>>>>> [INFO] [Console$] [info] Set current project to >>>>>>>>>>>>>>>>> template-scala-parallel-ecommercerecommendation (in build >>>>>>>>>>>>>>>>> file:/home/integration/client/PredictionIO-0.10/Engines/ >>>>>>>>>>>>>>>>> MyRecommendation/) >>>>>>>>>>>>>>>>> [INFO] [Console$] [success] Total time: 0 s, completed Ja= n >>>>>>>>>>>>>>>>> 10, 2018 6:04:02 AM >>>>>>>>>>>>>>>>> [INFO] [Console$] [info] Including from cache: >>>>>>>>>>>>>>>>> scala-library-2.11.8.jar >>>>>>>>>>>>>>>>> [INFO] [Console$] [info] Checking every *.class/*.jar >>>>>>>>>>>>>>>>> file's SHA-1. >>>>>>>>>>>>>>>>> [INFO] [Console$] [info] Merging files... >>>>>>>>>>>>>>>>> [INFO] [Console$] [warn] Merging 'META-INF/MANIFEST.MF' >>>>>>>>>>>>>>>>> with strategy 'discard' >>>>>>>>>>>>>>>>> [INFO] [Console$] [warn] Strategy 'discard' was applied t= o >>>>>>>>>>>>>>>>> a file >>>>>>>>>>>>>>>>> [INFO] [Console$] [info] Assembly up to date: >>>>>>>>>>>>>>>>> /home/integration/client/PredictionIO-0.10/Engines/ >>>>>>>>>>>>>>>>> MyRecommendation/target/scala- >>>>>>>>>>>>>>>>> 2.11/template-scala-parallel-ecommercerecommendation- >>>>>>>>>>>>>>>>> assembly-0.1-SNAPSHOT-deps.jar >>>>>>>>>>>>>>>>> [INFO] [Console$] [success] Total time: 1 s, completed Ja= n >>>>>>>>>>>>>>>>> 10, 2018 6:04:03 AM >>>>>>>>>>>>>>>>> [INFO] [Console$] Build finished successfully. >>>>>>>>>>>>>>>>> [INFO] [Console$] Looking for an engine... >>>>>>>>>>>>>>>>> [ERROR] [Console$] No engine found. Your build might have >>>>>>>>>>>>>>>>> failed. Aborting. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Versions used: >>>>>>>>>>>>>>>>> scala 2.11.8 >>>>>>>>>>>>>>>>> spark 1.5.1 >>>>>>>>>>>>>>>>> elastic 1.4.4 >>>>>>>>>>>>>>>>> hbase 1.0.0 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> pio event server is running fine here is log >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> [INFO] [HBLEvents] The table pio_event:events_0 doesn't >>>>>>>>>>>>>>>>> exist yet. Creating now... >>>>>>>>>>>>>>>>> [INFO] [HBLEvents] Removing table pio_event:events_0... >>>>>>>>>>>>>>>>> [INFO] [Console$] (sleeping 5 seconds for all messages to >>>>>>>>>>>>>>>>> show up...) >>>>>>>>>>>>>>>>> [INFO] [Console$] Your system is all ready to go. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> 1. Can somebody please help regarding the issue here? >>>>>>>>>>>>>>>>> 2. Also Can you recommend or point me to documentation to >>>>>>>>>>>>>>>>> build template for older version of predictionIO? >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>> >>> > --f403043a16e8ee5b0e05628af3cb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,=C2=A0
=C2=A0 =C2=A0 Well with versio= n PIO 10 I think some dependency is causing trouble in linux, we have figur= ed out a way using Pio for now, and everything is working great.=C2=A0
=C2=A0 Thanks for the support though.=C2=A0

Few question-
1.Does Pio latest support Mongodb or NoSQL?
2.Memor= y uses by Pio, Is there any max memory limit set, If need be can it be set?= =C2=A0


Thanks
Rajesh=C2=A0


On Jan 11, 2018 10:25 PM, "Pat Ferrel" <pat@occamsmachete.com> wrote:
The version in the artifact built by Scala shoul= d only have the major version number so 2.10 or 2.11. PIO 0.10.0 needs 2.10= .=C2=A0 Where, and what variable did you set to 2.10.4? That is the problem= . There will never be a lib built for 2.10.4, it will always be 2.10.
<= br>


On Jan 11, 2018, at 5:15 AM, Daniel O&= #39; Shaughnessy <danieljamesdavid@gmail.com> wrote:

Basical= ly you need to make sure all your lib dependencies in build.sbt work togeth= er.=C2=A0

On Thu, 11 J= an 2018 at 13:14 Daniel O' Shaughnessy <danieljamesdavid@gmail.com> wrot= e:
Maybe try v2.10= .4 based on this line:

[INFO] [C= onsole$] [error]=C2=A0=C2=A0=C2=A0 com.chuusai:shapeless _2.10, _2.10.4

<= div>I'm unfamiliar with the ubuntu setup for pio so can't help you = there I'm afraid.

On Thu, 11 Jan 2018 at 05:08 Rajesh Jangid <= ;rajeshj@grazitti= .com> wrote:
I am trying to run this on ubuntu 16.04

On Thu, Jan 11, 2018 at 10:36 AM, Rajesh = Jangid <rajeshj@grazitti.com> wrote:
Hi,
=C2=A0 I have tried once = again with 2.10 as well but getting following dependency error

[INFO] [Console$] [error] Modules were resolved = with conflicting cross-version suffixes in {file:/home/integration/cli= ent/PredictionIO-0.10/Engines/MyRecommendation/}myrecommendation:=
[INFO] [Console$] [error]=C2=A0=C2=A0=C2=A0 com.chuusai:shapeless _2.10= , _2.10.4
[INFO] [Console$] java.lang.RuntimeException: Conflicting cros= s-version suffixes in: com.chuusai:shapeless
[INFO] [Console$] =C2=A0=C2= =A0=C2=A0 at scala.sys.package$.error(package.scala:27)
[INFO] [Con= sole$] =C2=A0=C2=A0=C2=A0 at sbt.ConflictWarning$.processCrossVersione= d(ConflictWarning.scala:46)
[INFO] [Console$] =C2=A0=C2=A0=C2=A0 at= sbt.ConflictWarning$.apply(ConflictWarning.scala:32)
[INFO] [Conso= le$] =C2=A0=C2=A0=C2=A0 at sbt.Classpaths$$anonfun$100.apply(Defaults.= scala:1300)
[INFO] [Console$] =C2=A0=C2=A0=C2=A0 at sbt.Classpaths$$anon= fun$100.apply(Defaults.scala:1297)
[INFO] [Console$] =C2=A0=C2=A0= =C2=A0 at scala.Function1$$anonfun$compose$1.apply(Function1.scal= a:47)
[INFO] [Console$] =C2=A0=C2=A0=C2=A0 at sbt.$tilde$greater$$anonfu= n$$u2219$1.apply(TypeFunctions.scala:40)
[INFO] [Console$] =C2= =A0=C2=A0=C2=A0 at sbt.std.Transform$$anon$4.work(System.scala:63)
[INFO] [Console$] =C2=A0= =C2=A0=C2=A0 at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(<= wbr>Execute.scala:228)
[INFO] [Console$] =C2=A0=C2=A0=C2=A0 at sbt.Execu= te$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)[INFO] [Console$] =C2=A0=C2=A0=C2=A0 at sbt.ErrorHandling$.wideConver= t(ErrorHandling.scala:17)
[INFO] [Console$] =C2=A0=C2=A0=C2=A0 at <= a href=3D"http://sbt.execute.work/" target=3D"_blank">sbt.Execute.work(= Execute.scala:237)
[INFO] [Console$] =C2=A0=C2=A0=C2=A0 at sbt.Exec= ute$$anonfun$submit$1.apply(Execute.scala:228)
[INFO] [Console$] = =C2=A0=C2=A0=C2=A0 at sbt.Execute$$anonfun$submit$1.apply(Execute.scal= a:228)
[INFO] [Console$] =C2=A0=C2=A0=C2=A0 at sbt.ConcurrentRestriction= s$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)=
[INFO] [Console$] =C2=A0=C2=A0=C2=A0 at sbt.CompletionService$$anon$2.<= wbr>call(CompletionService.scala:28)
[INFO] [Console$] =C2=A0=C2=A0= =C2=A0 at java.util.concurrent.FutureTask.run(FutureTask.java:266= )
[INFO] [Console$] =C2=A0=C2=A0=C2=A0 at java.util.concurrent.Exec= utors$RunnableAdapter.call(Executors.java:511)
[INFO] [Console$] = =C2=A0=C2=A0=C2=A0 at java.util.concurrent.FutureTask.run(FutureTask.<= wbr>java:266)
[INFO] [Console$] =C2=A0=C2=A0=C2=A0 at java.util.concurre= nt.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
= [INFO] [Console$] =C2=A0=C2=A0=C2=A0 at java.util.concurrent.ThreadPoo= lExecutor$Worker.run(ThreadPoolExecutor.java:617)
[INFO] [Console$]= =C2=A0=C2=A0=C2=A0 at java.lang.Thread.run(Thread.java:745)
[INFO]= [Console$] [error] (*:update) Conflicting cross-version suffixes in: com.c= huusai:shapeless
[INFO] [Console$] [error] Total time: 6 s, completed Ja= n 11, 2018 5:03:51 AM
[ERROR] [Console$] Return code of previous step is= 1. Aborting.


On Wed, Jan 10, 2018 at 10:03 PM, Daniel O' Shaughnessy <dan= ieljamesdavid@gmail.com> wrote:
I've pulled down this version without any modific= ations and run with pio v0.10 on a mac and it builds with no issues.
However, when I add in=C2=A0scalaVersion :=3D &qu= ot;2.11.8" to build.sbt I get a dependency error.
pio v0.10 supports scala 2.10 so you need to switch to this to = run!=C2=A0
<= div class=3D"gmail_quote">

On Wed, 10 Jan 2018 at 13:47= Rajesh Jangid <rajeshj@grazitti.com> wrote:
Yes, v0.5.0

On Jan 10, 2018 7:07 PM, "Daniel O' Shaughnes= sy" <danieljamesdavid@gmail.com> wrote:

On Wed, 10 Jan 2018 at 13:16 Rajesh Jangid <rajeshj@grazitti.com= > wrote:
<= div>Yes,
=C2=A0=C2=A0=C2=A0 We have dependency with elastic and w= e have elastic 1.4.4 already running. We Do not want to run another elastic= instance.
Latest prediction IO does not support elastic 1.4.4


On Wed, Jan 10, 2018 at 6:25 PM, Daniel O' Shaughnessy <danieljamesdavid@gmail.com> wrote:
Strange....do you absolutely need to run thi= s with pio v0.10?=C2=A0

On Wed, 10 Jan 2018 at 12:50 Rajesh Jangid <rajeshj@grazitti.com> wr= ote:
{"pio&qu= ot;: {"version": { "min": "0.10.0-incubating"= }}}


On Wed, Jan 10, 2018 at 6:16 PM, Daniel O' Shaughnessy <dani= eljamesdavid@gmail.com> wrote:
OK that looks fine. What version is=C2=A0PredictionIO=C2=A0set to in template.json?<= /div>

On Wed, 10 Jan 2018 at 12:38 Rajesh Jangid <rajeshj@grazitti.com> wrote:

pwd output :-
/home/integrati= on/client/PredictionIO-0.10/Engines/Recommender

ls output :-
build.sbt=C2=A0 data= =C2=A0 engine.json=C2=A0 importdata=C2=A0 LICENSE.txt=C2=A0 manifest.json= =C2=A0 pio.log=C2=A0 project=C2=A0 README.md=C2=A0 src=C2=A0 target=C2=A0 t= emplate.json

Following command is used to build the= template:-
/home/integration/client/<= wbr>PredictionIO-0.10/predictionio-0.10.0-incubating/PredictionIO= -0.10.0-incubating/bin/pio build --verbose



On Wed, Jan 10, 2018 at 5:39 PM, Daniel O' Shaughnessy <danieljamesdavid@gmail.com> wrote:
wherever you're starting your engine c= an you type pwd and report the result back?

On Wed, 10 Jan 2018 a= t 11:40 Rajesh Jangid <rajeshj@grazitti.com> wrote:
Hi,
=C2=A0=C2=A0=C2=A0 I hav= e tried different template as well but still unable to get it to work, Gett= ing same error log.


On Wed, Jan 10, 2018 at 2:52 PM, Rajesh Jangid <r= ajeshj@grazitti.com> wrote:
Yes, I have modified engine.js file with app name and the= n executed command in same folder.

On = Wed, Jan 10, 2018 at 2:21 PM, Noelia Os=C3=A9s Fern=C3=A1ndez <noses@vic= omtech.org> wrote:
I've gotten this error when I've run pio bu= ild in a folder with no engine.json file.

Have you checked you= are running the command in the right folder? i.e. a folder that has an eng= ine.json file...

Regards,
Noelia


On 10 January 2018 at 07= :34, Rajesh Jangid <rajeshj@grazitti.com> wrote:
Hi= ,
=C2=A0=C2=A0 I have been trying to setup prediction IO's ec= ommerce recommendation template. I was able to test it on the latest versio= n of prediction IO but for some reason I needed to use 0.10 release of pred= iction IO, the template dosn't seem to work with this release. =C2=A0 F= ollowing is the verbose output while building template ->

user@linux:/MyRecommendation# ../../predictionio-0= .10.0-incubating/PredictionIO-0.10.0-incubating/bin/pio build --v= erbose
[INFO] [Console$] Using existing engine manifest JSON at /home/in= tegration/client/PredictionIO-0.10/Engines/MyRecommendation/manif= est.json
[INFO] [Console$] Using command '/home/integration/client/<= wbr>PredictionIO-0.10/predictionio-0.10.0-incubating/PredictionIO= -0.10.0-incubating/sbt/sbt' at the current working directory to bu= ild.
[INFO] [Console$] If the path above is incorrect, this process will= fail.
[INFO] [Console$] Uber JAR disabled. Making sure lib/pio-assembly= -0.10.0-incubating.jar is absent.
[INFO] [Console$] Going to run: /= home/integration/client/PredictionIO-0.10/predictionio-0.10.0-incubating/PredictionIO-0.10.0-incubating/sbt/sbt=C2=A0 package asse= mblyPackageDependency
[INFO] [Console$] [info] Loading project definitio= n from /home/integration/client/PredictionIO-0.10/Engines/MyRecom= mendation/project
[INFO] [Console$] [info] Set current project to templa= te-scala-parallel-ecommercerecommendation (in build file:/home/integra= tion/client/PredictionIO-0.10/Engines/MyRecommendation/)
[INFO= ] [Console$] [success] Total time: 0 s, completed Jan 10, 2018 6:04:02 AM[INFO] [Console$] [info] Including from cache: scala-library-2.11.8.jar[INFO] [Console$] [info] Checking every *.class/*.jar file's SHA-1.[INFO] [Console$] [info] Merging files...
[INFO] [Console$] [warn] Mer= ging 'META-INF/MANIFEST.MF' with strategy 'discard'
[INF= O] [Console$] [warn] Strategy 'discard' was applied to a file
[I= NFO] [Console$] [info] Assembly up to date: /home/integration/client/P= redictionIO-0.10/Engines/MyRecommendation/target/scala-2.11/templ= ate-scala-parallel-ecommercerecommendation-assembly-0.1-SNAPSHOT-= deps.jar
[INFO] [Console$] [success] Total time: 1 s, completed Jan 10, = 2018 6:04:03 AM
[INFO] [Console$] Build finished successfully.
[INFO]= [Console$] Looking for an engine...
[ERROR] [Console$] No engine found.= Your build might have failed. Aborting.

Versions used:
scala 2.11.8
spark 1.5.1
<= /div>elastic 1.4.4
hbase 1.0.0

pio event server is ru= nning fine here is log

[INFO] [= HBLEvents] The table pio_event:events_0 doesn't exist yet. Creating now= ...
[INFO] [HBLEvents] Removing table pio_event:events_0...
[INFO] [C= onsole$] (sleeping 5 seconds for all messages to show up...)
[INFO] [Con= sole$] Your system is all ready to go.

1. Can somebody please help regarding the issue here?
2. Also C= an you recommend or point me to documentation to build template for older v= ersion of predictionIO?

















--f403043a16e8ee5b0e05628af3cb--