mleap icon indicating copy to clipboard operation
mleap copied to clipboard

Mleap 0.10.1 exception with Spark 2.2.1

Open stefanm7 opened this issue 8 years ago • 4 comments

Due to adaption of Mleap to Spark 2.3.0 in pull request #364 this error occurs when executing the with Spark 2.2.1 Spark-Example shown in the readme.md of this repository.

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.spark.ml.feature.StringIndexerModel.getStringOrderType()Ljava/lang/String; at org.apache.spark.ml.bundle.ops.feature.StringIndexerOp$$anon$1.store(StringIndexerOp.scala:23) at org.apache.spark.ml.bundle.ops.feature.StringIndexerOp$$anon$1.store(StringIndexerOp.scala:14) at ml.combust.bundle.serializer.ModelSerializer$$anonfun$write$1.apply(ModelSerializer.scala:87) at ml.combust.bundle.serializer.ModelSerializer$$anonfun$write$1.apply(ModelSerializer.scala:83)

stefanm7 avatar Jun 15 '18 10:06 stefanm7

I am also facing with this error recently when trying to dump a pipeline that contains StringIndexer.

Khiem-Tran avatar Jul 05 '18 04:07 Khiem-Tran

@stefanm7 @Khiem-Tran I've picked up this issue, will keep you posted. Thanks for the issue report, good find.

ancasarb avatar Jul 06 '18 15:07 ancasarb

Once merged, https://github.com/combust/mleap/pull/383 should fix this issue, thank you!

ancasarb avatar Jul 09 '18 10:07 ancasarb

Closing, as PRs has been merged to master.

ancasarb avatar Jul 10 '18 08:07 ancasarb