Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump dropwizard metrics-core for Spark 3 runner to match the version used in Spark 3.1 #23802

Merged
merged 1 commit into from
Oct 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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