Skip to content

Commit 5269e8b

Browse files
authored
Upgrade to Spark 3.3.3 (#2148) (#2153)
This PR upgrades our spark 3.x dependencies to version 3.3.3. (cherry picked from commit 35982db)
1 parent cc36d02 commit 5269e8b

24 files changed

+22
-16
lines changed

buildSrc/src/main/groovy/org/elasticsearch/hadoop/gradle/BuildPlugin.groovy

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,11 @@ class BuildPlugin implements Plugin<Project> {
310310
resolve.eachDependency { DependencyResolveDetails details ->
311311
// There are tons of slf4j-* variants. Search for all of them, and lock them down.
312312
if (details.requested.name.contains("slf4j-")) {
313-
details.useVersion "1.7.6"
313+
// Some projects make use of the slf4j binding libraries that are from the implementation side,
314+
// so these must be left alone.
315+
if (details.requested.group.equals("org.apache.logging.log4j") == false) {
316+
details.useVersion "1.7.6"
317+
}
314318
}
315319
// Be careful with log4j version settings as they can be easily missed.
316320
if (details.requested.name.contains("org.apache.logging.log4j") && details.requested.name.contains("log4j-")) {

buildSrc/src/main/groovy/org/elasticsearch/hadoop/gradle/fixture/hadoop/services/SparkYarnServiceDescriptor.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ class SparkYarnServiceDescriptor implements ServiceDescriptor {
5656

5757
@Override
5858
Version defaultVersion() {
59-
return new Version(3, 2, 4)
59+
return new Version(3, 3, 3)
6060
}
6161

6262
String hadoopVersionCompatibility() {
6363
// The spark artifacts that interface with Hadoop have a hadoop version in their names.
6464
// This version is not always a version that Hadoop still distributes.
65-
return "3.2"
65+
return "3"
6666
}
6767

6868
@Override

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spark13Version = 1.6.2
2828
spark20Version = 2.3.0
2929
spark22Version = 2.2.3
3030
spark24Version = 2.4.4
31-
spark30Version = 3.2.4
31+
spark30Version = 3.3.3
3232

3333
# same as Spark's
3434
scala210Version = 2.10.7

licenses/spark-catalyst_2.12-3.2.4.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3f04550e73f020b96f83143beb238294d057e24b

licenses/spark-core_2.12-3.2.4.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8c00f8f6caa081f6c047862c97caa254e0e79cc8

licenses/spark-sql_2.12-3.2.4.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
be2a4df9c65624155eb299ffc677cabb58e51ac2

licenses/spark-streaming_2.12-3.2.4.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)