Line 84 in EngineServerPluginContext.scala seems to change how the URI gets
generated:
https://github.com/apache/predictionio/pull/494/files#diff-167f4e9c1445b1f87aad1dead8da208cR84

On Wed, Mar 20, 2019 at 12:44 PM Pat Ferrel <[email protected]> wrote:

> What line in that PR? It is rather large.
>
> The URI is not correct. To use HDFS and a local filesystem you would use
> file:///home/aml/ur/engine.json
>
> I’m not sure where this URI is being generated but it is being generated
> incorrectly. You should be able to pass in the full URI explicitly to use
> either hdfs or file in `pio train` and/or `pio deploy`. The default in
> 0.13.0 was to look in the directory you are cded into and read engine.json
> so this may be a broken assumption in 0.14.0. Passing an explicit location
> may solve this.
>
> BTW if the assumption is causing a bad URI to be generated, it is a bug
> and should be filed.
>
> Anyone else know a better answer?
>
>
> From: Michael Zhou <[email protected]>
> <[email protected]>
> Reply: Michael Zhou <[email protected]>
> <[email protected]>
> Date: March 20, 2019 at 12:03:25 PM
> To: Pat Ferrel <[email protected]> <[email protected]>
> Cc: actionml-user <[email protected]>
> <[email protected]>
> Subject:  Re: [ERROR] [OneForOneStrategy] Wrong FS:
> file:/home/aml/ur/engine.json, expected: hdfs://localhost:9000
>
> It came from "pio deploy". See
> https://lists.apache.org/thread.html/a0d0b8241f4c24dbb75bdb7b1621c625710cab04f0a9b89c37842eed@<user.predictionio.apache.org>
>  for
> more details.
> Update: Seems like a regression introduced by pio 0.14.0. It works after I
> downgraded to pio 0.13.0.
> In particular, I suspect this diff
> https://github.com/apache/predictionio/pull/494/files#diff-167f4e9c1445b1f87aad1dead8da208c
>  to
> have caused the issue.
>
> On Wed, Mar 20, 2019 at 11:59 AM Pat Ferrel <[email protected]> wrote:
>
>> What are you trying to do when you get this?
>>
>>
>> From: Michael Zhou <[email protected]>
>> <[email protected]>
>> Reply: Michael Zhou <[email protected]>
>> <[email protected]>
>> Date: March 20, 2019 at 6:48:23 AM
>> To: actionml-user <[email protected]>
>> <[email protected]>
>> Subject:  [ERROR] [OneForOneStrategy] Wrong FS:
>> file:/home/aml/ur/engine.json, expected: hdfs://localhost:9000
>>
>> Got this error when running the universal recommender integration test.
>> Any idea what this is?
>> --
>> You received this message because you are subscribed to the Google Groups
>> "actionml-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/actionml-user/3f18a233-9c65-48f0-9495-9591932dd7a5%40googlegroups.com
>> <https://groups.google.com/d/msgid/actionml-user/3f18a233-9c65-48f0-9495-9591932dd7a5%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "actionml-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/actionml-user/CALnv21h60voPeOUXZkmPmXwkoN12r9xcAj9vzmRtqchTf-pq0g%40mail.gmail.com
> <https://groups.google.com/d/msgid/actionml-user/CALnv21h60voPeOUXZkmPmXwkoN12r9xcAj9vzmRtqchTf-pq0g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

Reply via email to