This content has been marked as final.
Show 2 replies
-
1. Re: Apache Spark in JBoss
alesj Jan 5, 2015 4:04 AM (in response to juretos)How is Spark started by default?
(afaik, and I've just had a quick look long ago, it is its own process -- own script, etc)
If it doesn't have an embedded way, then it's probably hard, if not impossible.
Perhaps rather have 2 processes, that communicate with each other.
-
2. Re: Apache Spark in JBoss
alesj Jan 5, 2015 8:31 AM (in response to alesj)Otoh, it looks pretty easy to embedded it:
* https://spark.apache.org/docs/latest/quick-start.html#self-contained-applications
So I guess all you need is to add all the right classes on the app's classpath.
And in WildFly the easiest way to do this is to add the classes / jars as modules.
Just dunno what is then needed for the proper cluster, etc.
e.g. would be useful to somehow re-use JGroups (this is what WildFly uses for clustering) for this