Skip to content

Commit 228f028

Browse files
authored
Add log4j2 deps for spark validatesRunner tasks. (#34123)
* Add log4j2 deps for spark validatesRunner tasks. * Trigger spark postcommit tests.
1 parent 047c788 commit 228f028

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/trigger_files/beam_PostCommit_Java_ValidatesRunner_Spark.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"https://github.com/apache/beam/pull/31798": "noting that PR #31798 should run this test",
55
"https://github.com/apache/beam/pull/32546": "noting that PR #32546 should run this test",
66
"https://github.com/apache/beam/pull/33267": "noting that PR #33267 should run this test",
7-
"https://github.com/apache/beam/pull/33322": "noting that PR #33322 should run this test"
7+
"https://github.com/apache/beam/pull/33322": "noting that PR #33322 should run this test",
8+
"https://github.com/apache/beam/pull/34123": "noting that PR #34123 should run this test"
89
}

.github/trigger_files/beam_PostCommit_Java_ValidatesRunner_SparkStructuredStreaming.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"https://github.com/apache/beam/pull/31156": "noting that PR #31156 should run this test",
44
"https://github.com/apache/beam/pull/31798": "noting that PR #31798 should run this test",
55
"https://github.com/apache/beam/pull/32546": "noting that PR #32546 should run this test",
6-
"https://github.com/apache/beam/pull/33267": "noting that PR #33267 should run this test"
6+
"https://github.com/apache/beam/pull/33267": "noting that PR #33267 should run this test",
7+
"https://github.com/apache/beam/pull/34123": "noting that PR #34123 should run this test"
78
}

runners/spark/spark_runner.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ dependencies {
216216
validatesRunner project(":sdks:java:io:hadoop-format").sourceSets.test.output
217217
validatesRunner project(path: ":examples:java", configuration: "testRuntimeMigration")
218218
validatesRunner project(path: project.path, configuration: "testRuntimeMigration")
219+
validatesRunner library.java.log4j2_api
220+
validatesRunner library.java.log4j2_core
219221
hadoopVersions.each { kv ->
220222
"hadoopVersion$kv.key" "org.apache.hadoop:hadoop-common:$kv.value"
221223
// Force paranamer 2.8 to avoid issues when using Scala 2.12

0 commit comments

Comments
 (0)