Skip to content

Commit

Permalink
fix: NoSuchMethodError from breeze in interpretibility notebook when …
Browse files Browse the repository at this point in the history
…running in Fabric 3.3 pool
  • Loading branch information
memoryz committed Sep 10, 2024
1 parent d3bbd47 commit f5187e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ val extraDependencies = Seq(
exclude("com.google.protobuf", "protobuf-java") exclude("org.apache.spark", "spark-mllib_2.12")
exclude("org.apache.spark", "spark-core_2.12") exclude("org.apache.spark", "spark-avro_2.12")
exclude("org.apache.spark", "spark-sql_2.12"),
// Although breeze 1.2 is already provided by Spark, this is needed for Fabric Spark 3.3 pools.
// Otherwise a NoSuchMethodError will be thrown by interpretability code.
"org.scalanlp" %% "breeze" % "1.2"
).map(d => d excludeAll (excludes: _*))
val dependencies = coreDependencies ++ extraDependencies

Expand Down

0 comments on commit f5187e2

Please sign in to comment.