Yes, easy enough to do but rather annoying. Rather than supporting 1.x and 5.x 
I think the UR 0.6.1 will be EOL for ES 1.x and UR 0.7.0 will be ES 5.x from 
then on. We have a major speedup in 0.7.0 and an even greater speedup in the 
next after that, which will start using Spark dataframes instead of Mahout 
Matrices and BiMaps. We are also starting to design a Kappa style version of 
the UR that will be based on Harness instead of PredictionIO. It won’t require 
a training phase or Spark at all if you don’t need to bootstrap from old data.


On Oct 6, 2017, at 3:19 PM, Mars Hall <[email protected]> wrote:

Hi Pat,

On 4 October 2017 at 22:04, Pat Ferrel <[email protected] 
<mailto:[email protected]>> wrote:
It looks like PIO 0.12.0 will require a code change in the UR. PIO changed ES1 
support drastically when ES5 support was added and broke the UR code.

We will do a quick fix to the template to address this. In the meantime stay on 
PIO 0.11.0 if you need the UR.

We dealt with these breaking Elasticsearch 5.x client changes in our fork of 
the UR. I've tried to merge these changes back with the main UR source tree, 
but the ES5 support was not already present so very difficult to pull request. 
Anyway, we definitely slayed some dragons with the help of Donald Szeto.

What we ended up with is a UR/EsClient that generates its own Elasticsearch 
RestClient using the Storage config, instead of instantiating PredictionIO's 
ESStorageClient. This solved a tangled mess of Apache HTTP dependency version 
conflicts. If you'd like to see what is working well for us (in production, 
under load), check out this [merged] PR to our fork:

https://github.com/heroku/predictionio-engine-ur/pull/7/files 
<https://github.com/heroku/predictionio-engine-ur/pull/7/files>

It would be wonderful to have your main UR working with this ES5 capability. 
Let me know if you have questions about our approach,

-- 
*Mars Hall
415-818-7039
Customer Facing Architect
Salesforce Platform / Heroku
San Francisco, California

-- 
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] 
<mailto:[email protected]>.
To post to this group, send email to [email protected] 
<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/actionml-user/CA%2BVXBtsA_C%2B_jqLw85tOZQbFwsdVM4Rb1Xhu_Fp_8%2BhX3ukEow%40mail.gmail.com
 
<https://groups.google.com/d/msgid/actionml-user/CA%2BVXBtsA_C%2B_jqLw85tOZQbFwsdVM4Rb1Xhu_Fp_8%2BhX3ukEow%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout 
<https://groups.google.com/d/optout>.

Reply via email to