combust / combust/mleap

java.lang.NoSuchMethodError: scala.Product.$init$(Lscala/Product;)

Open
#647 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
1.5k
Forks
315
PR merge metrics
No merged PRs in 30d

Description

using scala version 2.12.10 and started it as `spark-shell --packages ml.combust.mleap:mleap-spark-extension_2.12:0.15.0`

running the export demo on https://mleap-docs.combust.ml/demos/

```
scala> val transform = pipeline.transform(dataframe)
transform: org.apache.spark.sql.DataFrame = [test_string: string, test_double: double ... 2 more fields]

scala> val sbc = SparkBundleContext().withDataset(transform)
java.lang.NoSuchMethodError: scala.Product.$init$(Lscala/Product;)V
at ml.combust.bundle.BundleRegistry.(BundleRegistry.scala:73)
at ml.combust.bundle.BundleRegistry$.apply(BundleRegistry.scala:73)
at ml.combust.bundle.BundleRegistry$.apply(BundleRegistry.scala:44)
at ml.combust.bundle.BundleRegistry$.apply(BundleRegistry.scala:28)
at org.apache.spark.ml.bundle.SparkBundleContext$.apply(SparkBundleContext.scala:21)
at org.apache.spark.ml.bundle.SparkBundleContext$.apply(SparkBundleContext.scala:17)
... 57 elided
```

```
scala> spark.sparkContext.listJars.foreach(println)
spark://intul178723677:62567/jars/ml.combust.mleap_mleap-spark-base_2.12-0.15.0.jar
spark://intul178723677:62567/jars/ml.combust.mleap_mleap-base_2.12-0.15.0.jar
spark://intul178723677:62567/jars/ml.combust.mleap_mleap-spark-extension_2.12-0.15.0.jar
spark://intul178723677:62567/jars/com.thesamet.scalapb_lenses_2.12-0.7.0-test2.jar
spark://intul178723677:62567/jars/com.lihaoyi_fastparse_2.12-1.0.0.jar
spark://intul178723677:62567/jars/com.lihaoyi_fastparse-utils_2.12-1.0.0.jar
spark://intul178723677:62567/jars/com.typesafe_config-1.3.0.jar
spark://intul178723677:62567/jars/ml.combust.bundle_bundle-ml_2.12-0.15.0.jar
spark://intul178723677:62567/jars/com.google.protobuf_protobuf-java-3.5.1.jar
spark://intul178723677:62567/jars/ml.combust.mleap_mleap-spark_2.12-0.15.0.jar
spark://intul178723677:62567/jars/ml.combust.mleap_mleap-core_2.12-0.15.0.jar
spark://intul178723677:62567/jars/io.spray_spray-json_2.12-1.3.2.jar
spark://intul178723677:62567/jars/com.thesamet.scalapb_scalapb-runtime_2.12-0.7.1.jar
spark://intul178723677:62567/jars/com.jsuereth_scala-arm_2.12-2.0.jar
spark://intul178723677:62567/jars/com.github.rwl_jtransforms-2.4.0.jar
spark://intul178723677:62567/jars/org.scala-lang_scala-reflect-2.12.8.jar
spark://intul178723677:62567/jars/ml.combust.mleap_mleap-runtime_2.12-0.15.0.jar
spark://intul178723677:62567/jars/ml.combust.bundle_bundle-hdfs_2.12-0.15.0.jar
spark://intul178723677:62567/jars/com.lihaoyi_sourcecode_2.12-0.1.4.jar
spark://intul178723677:62567/jars/ml.combust.mleap_mleap-tensor_2.12-0.15.0.jar
spark://intul178723677:62567/jars/commons-io_commons-io-2.5.jar
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.