Closed gkiril closed 6 years ago
The README states very clearly that the JPMML-Evaluator-Spark library requires Apache Spark 2.X: https://github.com/jpmml/jpmml-evaluator-spark#prerequisites
If you're targeting Apache Spark 1.X, then you should check out some late-2016 commit.
I tried using this with Spark 1.6.1, but I get the following UnmarshalException exception
Besides, such UnmarshalException
is an indication of an improperly packaged Apache Spark application (the legacy JPMML-Model library is shadowing the up-to-date JPMML-Model library).
If the packaging were done correctly, then you would be getting some ClassNotFoundException
or NoSuchMethodError
complaining about Spark 1.X and 2.X API differences (eg. DataFrame
vs. Dataset
).
I tried using this with Spark 1.6.1, but I get the following
UnmarshalException
exception:Could one expect a fix-up for these older versions of Spark?