Closed earandap closed 6 years ago
Hi, yes it's definitely possible.
If a problem is in obtaining SparkSession
, then there is a little workaround for java:
@Override
public JHandle<List<Integer>> handle() {
return withArgs(intArg("num")).onSparkContext((num, sc) -> {
SparkSession spark = org.apache.spark.SparkSessionUtils.getOrCreate(sc.sc(), false);
...
});
}
We have a gitter room - feel free to ask questions there
Hi, I am new to mist. I am trying to do a JMistFn with the next spark java example. Is it possible? Thanks in advance