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 := "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 <[email protected]> wrote:

> Yes, v0.5.0
>
> On Jan 10, 2018 7:07 PM, "Daniel O' Shaughnessy" <
> [email protected]> 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 <[email protected]> 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 <
>>> [email protected]> wrote:
>>>
>>>> Strange....do you absolutely need to run this with pio v0.10?
>>>>
>>>> On Wed, 10 Jan 2018 at 12:50 Rajesh Jangid <[email protected]>
>>>> wrote:
>>>>
>>>>> {"pio": {"version": { "min": "0.10.0-incubating" }}}
>>>>>
>>>>>
>>>>> On Wed, Jan 10, 2018 at 6:16 PM, Daniel O' Shaughnessy <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> OK that looks fine. What version is PredictionIO set to in
>>>>>> template.json?
>>>>>>
>>>>>> On Wed, 10 Jan 2018 at 12:38 Rajesh Jangid <[email protected]>
>>>>>> 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  template.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 <
>>>>>>> [email protected]> 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 <[email protected]>
>>>>>>>> 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 <
>>>>>>>>> [email protected]> 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és Fernández <
>>>>>>>>>> [email protected]> 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 <[email protected]
>>>>>>>>>>> > wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>    I have been trying to setup prediction IO's ecommerce
>>>>>>>>>>>> recommendation template. I was able to test it on the latest 
>>>>>>>>>>>> version of
>>>>>>>>>>>> prediction IO but for some reason I needed to use 0.10 release 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 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] Merging 'META-INF/MANIFEST.MF' with
>>>>>>>>>>>> strategy 'discard'
>>>>>>>>>>>> [INFO] [Console$] [warn] Strategy 'discard' was applied to 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 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
>>>>>>>>>>>> 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?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>
>>>

Reply via email to