Re: drools on spark, how to reload rule file?

2016-04-18 Thread Jason Nerothin
ds, > Evan > From: Jason Nerothin [mailto:jasonnerot...@gmail.com > <mailto:jasonnerot...@gmail.com>] > Sent: 2016年4月18日 21:42 > To: yaoxiaohua > Cc: user@spark.apache.org <mailto:user@spark.apache.org> > Subject: Re: drools on spark, how to reload rule file? > > Th

RE: drools on spark, how to reload rule file?

2016-04-18 Thread yaoxiaohua
the drools doc now. Best Regards, Evan From: Jason Nerothin [mailto:jasonnerot...@gmail.com] Sent: 2016年4月18日 21:42 To: yaoxiaohua Cc: user@spark.apache.org Subject: Re: drools on spark, how to reload rule file? The limitation is in the drools implementation. Changing a rule in a stateful

Re: drools on spark, how to reload rule file?

2016-04-18 Thread Jason Nerothin
The limitation is in the drools implementation. Changing a rule in a stateful KB is not possible, particularly if it leads to logical contradictions with the previous version or any other rule in the KB. When we ran into this, we worked around (part of) it by salting the rule name with a unique

drools on spark, how to reload rule file?

2016-04-18 Thread yaoxiaohua
Hi bros, I am trying using drools on spark to parse log and do some rule match and derived some fields. Now I refer one blog on cloudera, http://blog.cloudera.com/blog/2015/11/how-to-build-a-complex-event-processin g-app-on-apache-spark-and-drools/