Skip to content

Commit

Permalink
Bump dropwizard metrics-core for Spark 3 runner to match the version …
Browse files Browse the repository at this point in the history
…used in Spark 3.1 (addresses apache#23728)
  • Loading branch information
Moritz Mack committed Oct 24, 2022
1 parent 760c83e commit 932f87e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runners/spark/spark_runner.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,16 @@ dependencies {
implementation project(":sdks:java:fn-execution")
implementation library.java.vendored_grpc_1_48_1
implementation library.java.vendored_guava_26_0_jre
implementation "io.dropwizard.metrics:metrics-core:3.1.5" // version used by Spark 2.4
spark.components.each { component ->
provided "$component:$spark_version"
}
permitUnusedDeclared "org.apache.spark:spark-network-common_$spark_scala_version:$spark_version"
if (project.property("spark_scala_version").equals("2.11")) {
implementation "io.dropwizard.metrics:metrics-core:3.1.5" // version used by Spark 2.4
compileOnly "org.scala-lang:scala-library:2.11.12"
runtimeOnly library.java.jackson_module_scala_2_11
} else {
implementation "io.dropwizard.metrics:metrics-core:4.1.1" // version used by Spark 3.1
compileOnly "org.scala-lang:scala-library:2.12.15"
runtimeOnly library.java.jackson_module_scala_2_12
}
Expand Down

0 comments on commit 932f87e

Please sign in to comment.